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

Remove the pin for shiboken6 #1061

Open
almet opened this issue Jan 27, 2025 · 0 comments
Open

Remove the pin for shiboken6 #1061

almet opened this issue Jan 27, 2025 · 0 comments

Comments

@almet
Copy link
Member

almet commented Jan 27, 2025

Shiboken6 issued version 6.8.1.1 in last december. This version was released only for macOS, as as such makes poetry fail to work on other OSes.

We've pinned this version for our 0.8.1 release and now back-ported the changes on the main branch:

shiboken6 = [
{version = "*", platform = "darwin"},
{version = "<6.8.1.1", platform = "linux"},
{version = "<6.8.1.1", platform = "win32"},
]

Fedora is the only distro we know that issued a release for this 6.8.1.1 version. The .spec file for Fedora packaging replaces the information in pyproject.toml by any version:

# Bypass the version pin for Fedora as the 6.8.1.1 package is causing trouble
# A 6.8.1.1 package was only released with a wheel for macOS, but was picked by
# Fedora packagers. We cannot use "*" when PyPI is involved as it will fail to download the latest version.
# For Fedora, we can pick any of the released versions.
sed -i '/shiboken6 = \[/,/\]/c\shiboken6 = "*"' pyproject.toml

Once a new version of shiboken is out we should remove these: https://pypi.org/project/shiboken6/#history

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant