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

AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__' #477

Closed
1 task done
pawamoy opened this issue May 24, 2021 · 0 comments · Fixed by #478
Closed
1 task done

AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__' #477

pawamoy opened this issue May 24, 2021 · 0 comments · Fixed by #478
Labels
🐛 bug Something isn't working

Comments

@pawamoy
Copy link
Sponsor Contributor

pawamoy commented May 24, 2021

  • I have searched the issue tracker and believe that this is not a duplicate.

Setuptools is too old on Windows + Python 3.6 in GitHub CI, resulting in the error shown in the title when installing dependencies like pytest-sugar or termcolor (not sure if they play a role in this issue or not).

Steps to reproduce

  • in a GitHub workflow
  • windows-latest
  • python3.6
  • install pytest-sugar and/or termcolor

Actual behavior

See the tracebacks during resolution and the errors at installation here: https://github.com/pawamoy/archan/runs/2657652009?check_suite_focus=true

See how this is fixed by upgrading setuptools before resolving/installing here ("Install dependencies" step): https://github.com/pawamoy/archan/runs/2657734541?check_suite_focus=true

Expected behavior

Not sure. I found this setuptools issue, linking to this pip bug. Maybe PDM has nothing to do here. Feel free to close, I mostly opened this for visibility 🙂

@pawamoy pawamoy added the 🐛 bug Something isn't working label May 24, 2021
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.

1 participant