sdss / semaphore

Communicating with flags
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

setuptools requirement #2

Open Sean-Morrison opened 5 months ago

Sean-Morrison commented 5 months ago

this package has a hidden dependency of setuptools <=66.1.1. With 66.2.0 "pkg_resources is deprecated as an API".

ajwheeler commented 1 week ago

Just noting that I hit this as well. For others, the error looks like

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/awheeler/Simons Foundation Dropbox/Adam Wheeler/science/rotating_giants/.venv/lib/python3.12/site-packages/sdss_semaphore/__init__.py", line 6, in <module>
    from pkg_resources import resource_filename
ModuleNotFoundError: No module named 'pkg_resources'
ajwheeler commented 1 week ago

Workaround of uv pip install 'setuptools<=66.1.1' worked.