You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following warning spams when running bloom-release:
/usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release
This deprecation warning was added to pypa/setuptools some time last year, and it seems like all the has to be done is to use packaging.parse instead of pkg_resources.parse_version as described in PEP 440.
I will try and get a fix in if no one gets to it first.
The text was updated successfully, but these errors were encountered:
With setuptools 66.0.0 this now breaks bloom-generate on anything but Mac I believe:
Traceback (most recent call last):
File "/usr/local/bin/bloom-generate", line 5, in <module>
from bloom.commands.generate import main
File "/usr/local/lib/python3.10/dist-packages/bloom/commands/__init__.py", line 42, in <module>
from bloom.commands.update import start_updater
File "/usr/local/lib/python3.10/dist-packages/bloom/commands/update.py", line 49, in <module>
from bloom.logging import warning
File "/usr/local/lib/python3.10/dist-packages/bloom/logging.py", line 63, in <module>
_is_mac_lion_or_greater = parse_version(mac_ver()[0]) >= parse_version('10.7.0')
File "/usr/local/lib/python3.10/dist-packages/pkg_resources/_vendor/packaging/version.py", line 266, in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: ''
Downgrading setuptools to 65.7.0 solved the problem.
Following warning spams when running
bloom-release
:This deprecation warning was added to pypa/setuptools some time last year, and it seems like all the has to be done is to use
packaging.parse
instead ofpkg_resources.parse_version
as described in PEP 440.I will try and get a fix in if no one gets to it first.
The text was updated successfully, but these errors were encountered: