Skip to content

docs: install poetry>=1.8.0#20286

Closed
tchaikov wants to merge 1 commit intoscylladb:masterfrom
tchaikov:docs-poetry-1.8.0
Closed

docs: install poetry>=1.8.0#20286
tchaikov wants to merge 1 commit intoscylladb:masterfrom
tchaikov:docs-poetry-1.8.0

Conversation

@tchaikov
Copy link
Copy Markdown
Contributor

in 57def6f, we specified "package-mode" for poetry, but this option was introduced in poetry 1.8.0, as the "non-package" mode support. see https://github.com/python-poetry/poetry/releases/tag/1.8.0

this change practically bumps up the minimum required poetry version to 1.8.0, we did update pyproject.tombl to reflect this change. but wefailed to update the Makefile.

in this change, we update Makefile to ensure that user which happens have an older version of poetry can install the version which supports this version when running make setupenv.

Refs #20284
Signed-off-by: Kefu Chai [email protected]


this addresses the build failure of document in an environment where we have an older version of poetry, and this does not impact the production environment, so no need to backport.

in 57def6f, we specified "package-mode" for poetry, but this option
was introduced in poetry 1.8.0, as the "non-package" mode support.
see https://github.com/python-poetry/poetry/releases/tag/1.8.0

this change practically bumps up the minimum required poetry version
to 1.8.0, we did update `pyproject.tombl` to reflect this change.
but wefailed to update the `Makefile`.

in this change, we update `Makefile` to ensure that user which happens
have an older version of poetry can install the version which supports
this version when running `make setupenv`.

Refs scylladb#20284
Signed-off-by: Kefu Chai <[email protected]>
@tchaikov tchaikov requested a review from annastuchlik as a code owner August 26, 2024 06:42
@tchaikov tchaikov added area/build documentation Requires documentation backport/none Backport is not required labels Aug 26, 2024
@tchaikov
Copy link
Copy Markdown
Contributor Author

cc @dgarcia360

@scylladb-promoter
Copy link
Copy Markdown
Contributor

Docs Preview 📖

Docs Preview for this pull request is available here

Changed Files:

Note: This preview will be available for 30 days and will be automatically deleted after that period. You can manually trigger a new build by committing changes.

Copy link
Copy Markdown
Collaborator

@annastuchlik annastuchlik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change looks good, but I'd like @dgarcia360 to confirm (especially in light of the task in progress to keep poetry.lock per project).

AbhinavKumarJha pushed a commit to AbhinavKumarJha/scylladb that referenced this pull request Aug 30, 2024
in 57def6f, we specified "package-mode" for poetry, but this option
was introduced in poetry 1.8.0, as the "non-package" mode support.
see https://github.com/python-poetry/poetry/releases/tag/1.8.0

this change practically bumps up the minimum required poetry version
to 1.8.0, we did update `pyproject.tombl` to reflect this change.
but wefailed to update the `Makefile`.

in this change, we update `Makefile` to ensure that user which happens
have an older version of poetry can install the version which supports
this version when running `make setupenv`.

Refs scylladb#20284
Signed-off-by: Kefu Chai <[email protected]>

Closes scylladb#20286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build backport/none Backport is not required documentation Requires documentation promoted-to-master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants