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

new wheel version break wheel-axle #22

Closed
biggysmith opened this issue Aug 9, 2024 · 3 comments · Fixed by #23
Closed

new wheel version break wheel-axle #22

biggysmith opened this issue Aug 9, 2024 · 3 comments · Fixed by #23
Assignees
Labels
bug Something isn't working

Comments

@biggysmith
Copy link

my autobuild has just started breaking:

Successfully installed filelock-3.15.4 wheel-0.44.0 wheel-axle-0.0.7 wheel-axle-runtime-0.0.5

  • python3.10 setup.py bdist_axle
    Traceback (most recent call last):
    File "/setup.py", line 317, in
    setup(
    File "/venv/lib/python3.10/site-packages/setuptools/init.py", line 108, in setup
    return distutils.core.setup(**attrs)
    File "/venv/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 171, in setup
    ok = dist.parse_command_line()
    File "/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 478, in parse_command_line
    args = self._parse_command_opts(parser, args)
    File "/venv/lib/python3.10/site-packages/setuptools/dist.py", line 847, in _parse_command_opts
    nargs = _Distribution._parse_command_opts(self, parser, args)
    File "/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 537, in _parse_command_opts
    cmd_class = self.get_command_class(command)
    File "/venv/lib/python3.10/site-packages/setuptools/dist.py", line 692, in get_command_class
    self.cmdclass[command] = cmdclass = ep.load()
    File "/usr/local/lib/python3.10/importlib/metadata/init.py", line 162, in load
    module = import_module(match.group('module'))
    File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    File "", line 1050, in _gcd_import
    File "", line 1027, in _find_and_load
    File "", line 1006, in _find_and_load_unlocked
    File "", line 688, in _load_unlocked
    File "", line 883, in exec_module
    File "", line 241, in _call_with_frames_removed
    File "/venv/lib/python3.10/site-packages/wheel_axle/bdist_axle/init.py", line 35, in
    from wheel.bdist_wheel import bdist_wheel as _bdist_wheel, python_tag
    ImportError: cannot import name 'python_tag' from 'wheel.bdist_wheel' (/venv/lib/python3.10/site-packages/wheel/bdist_wheel.py)

started happening after it started using wheel version 0.44.0.

I can workaround by downgrading to wheel version 0.43.0, but I thought you should know.

@arcivanov
Copy link
Member

Thank you!

@arcivanov arcivanov self-assigned this Aug 9, 2024
@arcivanov arcivanov added the bug Something isn't working label Aug 9, 2024
arcivanov added a commit that referenced this issue Aug 9, 2024
If `setuptools>=70.1` are available - use that
Otherwise support `wheel` versions before and after migration

fixes #22
arcivanov added a commit that referenced this issue Aug 9, 2024
If `setuptools>=70.1` are available - use that
Otherwise support `wheel` versions before and after migration

fixes #22
arcivanov added a commit that referenced this issue Aug 9, 2024
If `setuptools>=70.1` are available - use that
Otherwise support `wheel` versions before and after migration

fixes #22
arcivanov added a commit that referenced this issue Aug 9, 2024
If `setuptools>=70.1` are available - use that
Otherwise support `wheel` versions before and after migration

fixes #22
@arcivanov
Copy link
Member

Fixed in v0.0.8

@biggysmith
Copy link
Author

great! :)

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

Successfully merging a pull request may close this issue.

2 participants