-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checklist
- [x ] I have searched the Sourcery documentation for the issue, and found nothing
- [x ] I have read the common issues and fixes listed in the Sourcery troubleshooting page, and found nothing
- [x ] I have checked there are no open bugs referencing the same bug or problem
Description
When running a github action which uses sourcery I get the following error:
error: Distribution `sourcery==1.41.1 @ registry+[https://pypi.org/simple`](https://pypi.org/simple%60) can't be installed because it doesn't have a source distribution or wheel for the current platform
hint: You're on Linux (`manylinux_2_39_x86_64`), but `sourcery` (v1.41.1) only has wheels for the following platform: `macosx_10_9_universal2`; consider adding "sys_platform == 'linux' and platform_machine == 'x86_64'" to `tool.uv.required-environments` to ensure uv resolves to a version with compatible wheelsI got the same error when I tried to install it locally on my Windows machine, i.e.
uv pip install sourcery==1.41.1
No solution found when resolving dependencies:
╰─▶ Because sourcery==1.41.1 has no wheels with a
matching platform tag (e.g., `win_amd64`) and
you require sourcery==1.41.1, we can conclude
that your requirements are unsatisfiable.
hint: Wheels are available for `sourcery`
(v1.41.1) on the following platform:
`macosx_10_9_universal2`However, I saw that you support both Windows and Ubuntu.
I can install version 1.39.0 without any issues.
Code snippet that reproduces issue
uv pip install sourcery==1.41.1Debug Information
IDE Version:
Not an IDE but I used powershell and it also occurred for a github action
Sourcery Version:
Trying to install version 1.41.1
Operating system and Version:
Windows 11 and Ubuntu 24.04
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working