Skip to content

Upgraded 'packaging' requirement.#912

Merged
elongl merged 6 commits into
masterfrom
ele-995-upgrade-packaging-package-version-in-oss-python-package
Jun 4, 2023
Merged

Upgraded 'packaging' requirement.#912
elongl merged 6 commits into
masterfrom
ele-995-upgrade-packaging-package-version-in-oss-python-package

Conversation

@elongl
Copy link
Copy Markdown
Contributor

@elongl elongl commented Jun 3, 2023

@linear
Copy link
Copy Markdown

linear Bot commented Jun 3, 2023

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2023

👋 @elongl
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

Comment thread setup.py
"pydantic<2.0",
"networkx>=2.3,<3",
"packaging>=20.9,<23.0",
"packaging>=20.9,<=23.1",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why do we want to use <= instead of just <

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

To allow this version as well as it does work.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So why not < 23.2?
I think that if this is how we work with the rest of our requirements we should do the same here 🙂

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

23.2 doesn't exist yet so I thought it might cause issues, but mostly, it doesn't really matter.
Also, we do have requirements that use >=.

@elongl elongl merged commit e017105 into master Jun 4, 2023
@elongl elongl deleted the ele-995-upgrade-packaging-package-version-in-oss-python-package branch June 4, 2023 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants