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

Broken with setuptools 59 #40

Open
mdavidsaver opened this issue Jan 10, 2025 · 0 comments
Open

Broken with setuptools 59 #40

mdavidsaver opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@mdavidsaver
Copy link
Member

mdavidsaver commented Jan 10, 2025

I received an email report from a user encountering the following error with py3.10, setuptools 59.6.0, and setuptools_dso 2.11. His issue was resolved by updating to setuptools 75 (also works for me with 66).

I think this indicates that setuptools_dso 2.11 is broken for setuptools at some point between 66 and 59.

I am inclined to treat this as a "won't fix".

Traceback (most recent call last):
  File "/home/user/application/ioc.py", line 25, in <module>
    phy.run_ioc_blocking()
  File "/home/user/application/llrf.py", line 194, in run_ioc_blocking
    import my_sioc
  File "/home/user/application/my_sioc.py", line 8, in <module>
    from softioc import softioc, builder, asyncio_dispatcher
  File "/home/user/venv/lib/python3.10/site-packages/softioc/__init__.py", line 5, in <module>
    from setuptools_dso.runtime import find_dso
  File "/home/user/venv/lib/python3.10/site-packages/setuptools_dso/__init__.py", line 10, in <module>
    from .dsocmd import DSO, Extension, install, build, build_dso, build_ext, bdist_egg
  File "/home/user/venv/lib/python3.10/site-packages/setuptools_dso/dsocmd.py", line 729, in <module>
    _needs_builddso(_build, right_before='build_clib')
  File "/home/user/venv/lib/python3.10/site-packages/setuptools_dso/dsocmd.py", line 715, in _needs_builddso
    assert issubclass(command, Command)
AssertionError
@mdavidsaver mdavidsaver added the bug Something isn't working label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant