-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[BUG] graphite-web 1.1.8+ dependency on pyparsing misses version requirement #2834
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
Comments
That's bug in dependencies, indeed. 1.1.8 is not latest, though, will check if happens on latest code |
* Adding django-upgrade pre-commit * Submitting django upgrade result * Include test suite in release (fixing #2830) * Fix pyparsing dep version (fixing #2834) * Upgrade Django and python version in reqs and tox * adding dependabot * adding new python in tests * Comment out broken tests * fix attime tests for python 3.12 * fix more tests for python 3.12 * simplify tox * fix self.assertRegex test * fix self.assertRegex test * fix self.assertEquals test * pleasing linter * more pleasing linter * trying to fix events test * let's keep doc on py310 * more event test fixes * moving doc to 3.10 * ok, moving back
You're correct. The new requirement / missing dependency happened at version 1.1.8, but even the latest docs and Thanks for taking a look at the issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Deniszh's commit should be applied, it addresses the issue. |
@timmooney : it was applied in #2846 |
I'm attempting to update a working install of whisper/carbon/graphite-web from 1.1.5 to current latest. Once I'm on a more recent version, I'll be moving my install to a newer system & Python3, but for now I have to get the current version upgraded.
My working install with 1.1.5 is using
pyparsing 2.2.0
.I've discovered that graphite-web 1.1.8 and 1.1.10 will not work with that version of pyparsing. At 1.1.8
webapp/graphite/render/grammar.py
goes away and is replaced bywebapp/graphite/render/grammar_unsafe.py
.The new
grammar_unsafe.py
still usespyparsing
, but its import now also requirespyparsing_unicode
.pyparsing_unicode
was introduced inpyparsing
version 2.3.0. See: pyparsing CHANGESIt looks like the
requirements.txt
file was updated to note the dependency (for pip, I assume?), but other places were not.Two things should be updated:
pyparsing >= 2.3.0
. Currently other python module dependencies are mentioned, but pyparsing isn't listed at all.check_dependencies.py
script is checking for any version ofpyparsing
and isn't detecting an installed version that predatespyparsing_unicode
.I'm not wise in the ways of Python, but it's possible the
tox.ini
also may need updates?The text was updated successfully, but these errors were encountered: