-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow/relax upper bound on packaging
dependency
#1435
Comments
packaging
dependencypackaging
dependency
`packaging` 22.0 was released recently, removing a dependency on `pyparsing`, which is cool. Since `google-cloud-bigquery` pins to pre-22, we cannot update our dependencies until that is allowed and released, as we will have conflicts between what is installed in non `main.txt` requirements. Refs: googleapis/python-bigquery#1435 Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@parthea @chalmerlowe @aribray Thoughts on this one? Seems like the |
`packaging` 22.0 was released recently, removing a dependency on `pyparsing`, which is cool. Since `google-cloud-bigquery` pins to pre-22, we cannot update our dependencies until that is allowed and released, as we will have conflicts between what is installed in non `main.txt` requirements. Refs: googleapis/python-bigquery#1435 Signed-off-by: Mike Fiedler <miketheman@gmail.com> Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@tswast Could we drop |
No, we cannot. We use it to compare versions of optional dependencies in this package. |
If we want to keep the dependency on packaging then I think it's ok to remove the upper bound. I'd recommend trying to remove packaging as a dependency altogether since it's trivial to achieve the same behaviour with our own logic. In other words, we could write code to extract the versions with tests to confirm the behavior. WDYT? |
100% agree with this as a "do this now", while the desire for
can be done at one's leisure to remove the dependency altogether. |
* deps: remove upper bound on packaging dependency Towards #1435 * install prerelease version of packaging * bump minimum packaging version Co-authored-by: Anthonios Partheniou <partheniou@google.com>
This seems to be resolved by #1440 and the recent 3.4.2 release, should it be closed? |
Thanks for resolving!! |
* deps: remove upper bound on packaging dependency Towards googleapis#1435 * install prerelease version of packaging * bump minimum packaging version Co-authored-by: Anthonios Partheniou <partheniou@google.com>
The current requirement on
packaging
is pinned:python-bigquery/setup.py
Line 43 in e1aa921
With the release of
packaging
22.0, clients using the current release of this project cannot update and benefit from the released version (which removes the last dependency of pyparsing).The upper boundary was pinned in #1263 - my suggestion would be to remove said upper boundary and release a new version of the library, so that clients have the flexibility to update packages with fewer conflicts.
The text was updated successfully, but these errors were encountered: