TypeError with `pyglet==2.0.dev23`
See original GitHub issueI am running into an issue with the latest version of pip-check
> pip install pyglet==2.0.dev23 pip-check
> pip-check
Loading package versions...
Traceback (most recent call last):
File "~/test-project/.venv/bin/pip-check", line 8, in <module>
sys.exit(main())
β β <function main at 0x10e85fbe0>
β <module 'sys' (built-in)>
File "~/test-project/.venv/lib/python3.10/site-packages/pip_check/__init__.py", line 298, in main
if current > latest:
File "~/test-project/.venv/lib/python3.10/site-packages/setuptools/_distutils/version.py", line 84, in __gt__
c = self._cmp(other)
β β LooseVersion ('2.0.0')
β LooseVersion ('2.0.dev23')
File "~/test-project/.venv/lib/python3.10/site-packages/setuptools/_distutils/version.py", line 352, in _cmp
if self.version < other.version:
TypeError: '<' not supported between instances of 'str' and 'int'
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Release Notes - Python Arcade 2.6.16
Bump Pyglet version to 2.0dev23. Few PEP-8 fixes. Fix perspective example. Note: Development continues on version 2.7, which will be another leap forward...
Read more >Pyglet - TypeError: expected string or buffer - Stack Overflow
It seems this bug was introduced with this recent change. You should definitely raise it on pyglet github issue tracker.
Read more >Pyglet - GitHub
pyglet is a cross-platform windowing and multimedia library for Python, for developing games and other ... As of pyglet 2.0, OpenGL 3.3+ is...
Read more >pyglet Documentation β pyglet v2.0.2
It supports windowing, user interface event handling, game controllers and joysticks, OpenGL graphics, loading images and videos, and playing sounds and music.
Read more >python-pyglet 2.0.1-1 (any) - Arch Linux
Architecture: any. Repository: Community. Base Package: pyglet. Description: A cross-platform windowing and multimedia library for Python.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Doh, I never made a release with that. Thereβs now pip-check==2.8 which should solve your issue.
But when I use the latest from
main
,pip-check
works, so I think this can be closed pending the next release where packaging replaces distutils