Skip to content
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

[Bug]: pyparsing and packaging version conflict #82

Closed
yardasol opened this issue Oct 30, 2021 · 2 comments
Closed

[Bug]: pyparsing and packaging version conflict #82

yardasol opened this issue Oct 30, 2021 · 2 comments

Comments

@yardasol
Copy link
Contributor

Expected behavior
When installing SaltProc in an fresh conda environment using python setup.py install --user, the software installs successfully.

Describe the bug
Installing SaltProc in a fresh conda environment using python setup.py install --user, the software fails with the following message:

error: pyparsing 3.0.3 is installed but pyparsing<3,>=2.0.2 is required by {'packaging'}

To Reproduce
Steps to reproduce the behavior:

  1. Activate conda
  2. Create an fresh conda environment with python installed
  3. Run python setup.py install --user
conda activate
conda create -n saltproc-test python=3.8 --yes
cd saltproc; python setup.py install --user

Other details
It seems that this bug is new as of today. If we go to the PyPI page for packaging we can see that on Oct. 29 (today), there is the following changelog:

Update pin to pyparsing to exclude 3.0.0.
I've also attached a screenshot below
Screenshot from 2021-10-29 20-45-59

I do not run into this issue if I initialize the environment from environment.yml. Doing so installs packaging=21.0, which is the version immediately before today's release.

System Specifications:

  • Software Version: Python 3.8.12, pip 21.3.1, packaging 21.2
  • Platform/OS: Ubuntu 21.04
  • Subsystem: conda 4.10.3

How can this issue be closed?
This issue can be closed when a patch has been made that forces pyparsing<3.0.0

@yardasol
Copy link
Contributor Author

Update: Found this bug on packaging issue tracker.

@yardasol yardasol added this to the 0.3.0 Release milestone Dec 7, 2021
@yardasol
Copy link
Contributor Author

Update

Screenshot from 2021-12-15 10-20-52

The 3.0.0 exclusion has been updated to 3.0.5 as of November 17. I haven't had any further issues with using setup.py. Tentativley closing this issue. If it comes up again, we can open it again or make a new issue.

Meta automation moved this from new to completed Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Meta
  
completed
Development

No branches or pull requests

1 participant