| |
@@ -1,6 +1,6 @@
|
| |
Name: python-virtualenv
|
| |
Version: 20.20.0
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: Tool to create isolated Python environments
|
| |
|
| |
License: MIT
|
| |
@@ -88,17 +88,13 @@
|
| |
sed -i -e 's/distlib<1,>=0.3.6/distlib<1,>=0.3.2/' \
|
| |
-e 's/filelock<4,>=3.4.1/filelock<4,>=3.3.1/' \
|
| |
-e 's/platformdirs<4,>=2.4/platformdirs<4,>=2.3/' \
|
| |
- -e 's/hatchling>=1.12.2/hatchling>=0.25/' \
|
| |
- -e 's/hatch-vcs>=0.3/hatch-vcs>=0.2.1/' \
|
| |
pyproject.toml
|
| |
|
| |
%generate_buildrequires
|
| |
- # EPEL 9: old hatchling needs the -w option
|
| |
- %pyproject_buildrequires -w
|
| |
+ %pyproject_buildrequires
|
| |
|
| |
%build
|
| |
- # EPEL 9: %%pyproject_buildrequires -w makes this redundant
|
| |
- # %%pyproject_wheel
|
| |
+ %pyproject_wheel
|
| |
|
| |
%install
|
| |
%pyproject_install
|
| |
@@ -136,11 +132,11 @@
|
| |
%files -n python3-virtualenv -f %{pyproject_files}
|
| |
%doc README.md
|
| |
%{_bindir}/virtualenv
|
| |
- # EPEL 9: old hatchling does not mark this as License-File automatically
|
| |
- # (this will produce a "File listed twice" warning, ignore it)
|
| |
- %license %{python3_sitelib}/virtualenv-%{version}.dist-info/license_files/LICENSE
|
| |
|
| |
%changelog
|
| |
+ * Thu Jul 27 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 20.20.0-2
|
| |
+ - Remove workarounds for old hatchling
|
| |
+
|
| |
* Wed Mar 01 2023 Lumír Balhar <lbalhar@redhat.com> - 20.20.0-1
|
| |
- Update to 20.20.0 (rhbz#2174221)
|
| |
|
| |
This adapts
python-virtualenvfor hatchling 1.x; some packaging changes are required in this case even though the update should generally be considered API-compatible.To be merged and built in a side tag with:
See also https://bugzilla.redhat.com/show_bug.cgi?id=2158497.
A COPR impact check shows that other packages that depend on
hatchlingorhatch-vcscontinue to build from source in EPEL9 without changes. Some enhancements may be desirable (dropping-wfrom%pyproject_buildrequires, ensuring license files are not duplicated...), but these can be done after the fact.I will allow a couple of days for questions and nit-picks, then I will proceed with the
hatchling/hatch-vcsupdate, merging this PR as apython-packagers-sigmember.