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

Support for wheels #93

Open
toddrme2178 opened this issue Mar 19, 2018 · 1 comment · May be fixed by #184
Open

Support for wheels #93

toddrme2178 opened this issue Mar 19, 2018 · 1 comment · May be fixed by #184

Comments

@toddrme2178
Copy link

A lot of packages are now either only supporting wheels or provide a more reliable installation when using wheels. It would be nice if py2pack could generate spec files for wheels.

@Evidlo
Copy link

Evidlo commented Jan 7, 2019

I have this issue as well. Has there been any progress on this front?

M0ses added a commit to M0ses/py2pack that referenced this issue Nov 17, 2023
As described in openSUSE#183 '~=' is not a valid version specifier for rpm and
deb packages.

This patch converts the specifier to valid version specifiers for
rpm/deb.

Examples:

`abc ~= 1.1.1`

* in rpm:

```
BuildRequires: %{python_module abc >= 1.1.1} # Only for suse
Requires: python-abc >= 1.1.1, python-abc < 1.2
```

* in deb:

```
Depends: python-abc (>= 1.1.1), python-abc (<< 1.2)
```

FIXES: openSUSE#183
An schould also fix
FIXES: openSUSE#93
@M0ses M0ses linked a pull request Nov 17, 2023 that will close this issue
M0ses added a commit to M0ses/py2pack that referenced this issue Aug 8, 2024
As described in openSUSE#183 '~=' is not a valid version specifier for rpm and
deb packages.

This patch converts the specifier to valid version specifiers for
rpm/deb.

Examples:

`abc ~= 1.1.1`

* in rpm:

```
BuildRequires: %{python_module abc >= 1.1.1} # Only for suse
Requires: python-abc >= 1.1.1, python-abc < 1.2
```

* in deb:

```
Depends: python-abc (>= 1.1.1), python-abc (<< 1.2)
```

FIXES: openSUSE#183
An schould also fix
FIXES: openSUSE#93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants