Commit Graph

329 Commits

Author SHA1 Message Date
Miro Hrončok
07e6b14147 Update to 56.2.0 2021-05-17 20:02:53 +02:00
Tomas Hrnciar
55736e3885 Update to 56.1.0 2021-05-06 09:10:30 +02:00
Miro Hrončok
3809284831 Provide python3-pkg_resources and python3-pkg-resources
See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides

We provide both with underscore and dash, becasue wa don't knwo what the users try first.
2021-04-22 16:01:11 +02:00
Tomas Hrnciar
b0799ddfe3 Update to 56.0.0 2021-04-13 10:56:55 +02:00
Tomas Hrnciar
8eda9e10db Update to 54.1.2 2021-03-17 16:21:07 +01:00
Miro Hrončok
3a0095a88d Update to 53.0.0, don't delete egg-info %with bootstrap 2021-02-03 14:21:29 +01:00
Miro Hrončok
f9a6c0db66 Remove dead code (no more easy_install) 2021-02-02 15:47:30 +01:00
Lumir Balhar
6aa5613f3f Update to 52.0.0 (#1917060) 2021-01-26 13:02:45 +01:00
Miro Hrončok
7be6637b2e Update to 51.1.2, assert the wheel is "small enough" 2021-01-11 15:32:23 +01:00
Miro Hrončok
eaf59855dd Bootstrap: Don't provide python3dist(setuptools) when %{python3_pkgversion} isn't 3 2020-12-29 14:21:09 +01:00
Miro Hrončok
61c2048eea Update to 51.1.1 2020-12-29 13:56:36 +01:00
Miro Hrončok
aab7290eab Don't BR gcc without tests 2020-12-04 13:39:59 +01:00
Miro Hrončok
80ce5dc072 Disable tests in Fedora ELN (and RHEL) 2020-12-04 13:34:10 +01:00
Tomas Hrnciar
39d978a46a Update to 50.3.2 2020-10-20 10:30:00 +02:00
Tomas Hrnciar
0372d531fe Update to 50.3.1 2020-10-15 09:56:02 +02:00
Tomas Hrnciar
e8959388c2 Update to 50.1.0 2020-09-07 09:11:51 +02:00
Lumir Balhar
14eb0a2a4e Conflict with the python-setuptools package is no longer needed (F33+) 2020-09-03 08:55:58 +02:00
Lumir Balhar
bb8149d811 Use bcond main_python to disable unique unversioned parts 2020-09-03 08:55:58 +02:00
Lumir Balhar
8f62b16e9c Use %{python3_pkgversion} to make the specfile more universal 2020-09-03 08:55:54 +02:00
Petr Viktorin
f167db533a Remove the unneeded patch 2020-08-21 17:40:31 +02:00
Petr Viktorin
55659cab0e Update to 49.6.0
Setuptools now has a "_distutils_hack" module that replaces the stdlib
"distutils" by setuptools._distutils whenever SETUPTOOLS_USE_DISTUTILS=local
is set. This will become the default in version 50.0.
The stdlib distutils module is deprecated and might be removed in some
future version of Python.
See: https://setuptools.readthedocs.io/en/latest/distutils-legacy.html

See CHANGES.rst for more changes.
2020-08-21 14:29:06 +02:00
Miro Hrončok
730758f145 Update to 49.1.3
- beware of the logo license/trademark (so far so good)
 - fix the list of licenses (no impact on the result, one MIT thing replaced with another)
 - sed out coverage from pytest.ini as well as linting

Related to https://bugzilla.redhat.com/show_bug.cgi?id=1853597

49.2.0 is intentionally skipped, see https://src.fedoraproject.org/rpms/python-setuptools/pull-request/43
2020-07-29 10:32:29 +02:00
Fedora Release Engineering
713d537ef0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 03:49:56 +00:00
Miro Hrončok
1513feb994 Switch to %pytest to simplify the spec file 2020-07-08 15:43:42 +02:00
Miro Hrončok
49b0dc3344 Verify bundled provides with %{_rpmconfigdir}/pythonbundles.py
Depends-on: https://src.fedoraproject.org/rpms/python-rpm-generators/pull-request/21
2020-07-08 15:43:42 +02:00
Miro Hrončok
8b91e5d135 Update to 47.3.1 (#1847049) 2020-06-26 13:41:49 +02:00
Miro Hrončok
635c0dbb16 Update the list of bundled provides
packaging was not downgraded, the previous value was a mistake.
2020-06-11 23:54:45 +02:00
Charalampos Stratakis
2e60688db7 Update to 47.1.1 (#1841123) 2020-06-01 16:20:28 +02:00
Miro Hrončok
86c3ce97cc Rebuilt for Python 3.9 2020-05-24 21:03:32 +02:00
Miro Hrončok
d478416670 Bootstrap for Python 3.9 2020-05-22 00:44:17 +02:00
Miro Hrončok
9b7559436e Bootstrap for Python 3.9 2020-05-22 00:03:32 +02:00
Tomas Hrnciar
d47c9d009b Update to 46.4.0 2020-05-18 15:42:29 +02:00
Tomas Hrnciar
94f93f3beb Update to 46.2.0 2020-05-12 14:35:26 +02:00
Miro Hrončok
a2a20a0d96 Drop useless-provides %python_provide
We are not merging this to Fedora 32 at this point, as we need the version
there to support Python 2 (it is used in python27's ensurepip).
2020-04-30 12:06:44 +02:00
Miro Hrončok
e69d8c0036 Filter lib2to3 (Pending)DeprecationWarning in testes
lib2to3 is deprecated in Python 3.9: https://bugs.python.org/issue40360

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1829716
2020-04-30 10:27:17 +02:00
Miro Hrončok
1bbe4f8488 Upgrade to 46.1.3
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1815796
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1817189

The create-site-packages.patch was merged upstream.
2020-03-26 10:08:29 +01:00
Miro Hrončok
437aba975c Upgrade to 46.0.0
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1811340
2020-03-12 12:50:53 +00:00
Miro Hrončok
bd7e1f72ee Upgrade to 45.2.0, no longer supports Python 2
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1775943
2020-02-26 14:20:52 +01:00
Fedora Release Engineering
2b8716acba - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 15:14:26 +00:00
Tomas Orsava
f1bf6f2e2d Upgrade to 41.6.0 (#1758945)
- https://setuptools.readthedocs.io/en/latest/history.html#v41-6-0
- Disabled a failing upstream test: https://github.com/pypa/setuptools/issues/1896
2019-11-07 16:41:08 +01:00
Randy Barlow
f344e0e7e4 Upgrade to 41.2.0 (#1742718)
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2019-09-03 16:10:19 -04:00
Miro Hrončok
c90675090c Move python2-setuptools to a separate package 2019-08-26 14:26:01 +02:00
Miro Hrončok
b23d4bacc6 Rebuilt for Python 3.8 2019-08-18 12:26:09 +02:00
Miro Hrončok
42f0d21e2d Bootstrap for Python 3.8 2019-08-14 22:56:11 +02:00
Miro Hrončok
6401364751 Provide pythonXdist(setuptools) when bootstrapping 2019-08-14 22:41:08 +02:00
Miro Hrončok
62adf08d66 Bootstrap for Python 3.8 2019-08-14 22:32:31 +02:00
Miro Hrončok
4f691bec26 Bootstrap for Python 3.8 2019-08-14 22:05:31 +02:00
Fedora Release Engineering
0d8306d413 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 16:13:58 +00:00
Miro Hrončok
f19e714d08 Make /usr/bin/easy_install Python 3, drop obsoleted Obsoletes 2019-07-16 14:06:43 +02:00
Petr Viktorin
fafacf11cc Remove optional test dependencies for Python 2
Skip test_virtualenv on Python 2
2019-06-21 19:24:08 +02:00
Miro Hrončok
60c300dc69 Update to 41.0.1 (#1695846) 2019-04-25 17:31:02 +02:00
Miro Hrončok
d285b4d17d Setuptools uses python2-mock, not python2-backports-unittest_mock 2019-03-19 17:37:44 +01:00
Miro Hrončok
76f349f8a2 BR python3-rpm-generators manually without bootstrap 2019-03-10 19:51:03 +01:00
Miro Hrončok
16c85a91b3 Update to 40.8.0 (#1672756) 2019-02-05 21:04:51 +01:00
Miro Hrončok
1201c7062f Hotfix update to 40.7.3 (#1672084) 2019-02-03 20:02:52 +01:00
Miro Hrončok
0bc8110fff Add missing upstream's changelog links to %changelog 2019-02-03 20:02:18 +01:00
Miro Hrončok
5c0280dd62 Hotfix update to 40.7.2 (#1671608) 2019-02-03 20:02:18 +01:00
Fedora Release Engineering
799b8302a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 09:16:42 +00:00
Miro Hrončok
968ef33023 Hotfix update to 40.7.1 (#1670243) 2019-01-29 08:53:17 +01:00
Miro Hrončok
99188dc1ea Update to 40.7.0 (#1669876)
The Python 2 version now needs python2-futures for tests.

I've removed very old obsoletes/provides of the main package,
they were not applied (we only ship subpackages).
2019-01-28 16:45:45 +01:00
Miro Hrončok
818fa29740 Update to 40.4.3
- fix dire DeprecationWarnings (#1627071)
- list vendored libraries, adjust license
2018-09-24 15:33:58 +02:00
Randy Barlow
7b33de4867 Update to 40.4.1 (#1599307).
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-09-19 13:47:56 -04:00
Petr Viktorin
d7f5288145 Add a subpackage with wheels
Use a common python_wheelname for both Pytohn versions
2018-08-15 15:43:57 +02:00
Petr Viktorin
4d41ef086a Remove the python3 bcond
There is no point of building this without python3 any more,
and this makes the spec a bit more readable.

Also, remove macros for RHEL 6
2018-08-15 15:43:51 +02:00
Miro Hrončok
9d511ca1c9 Fix couple of rpmlint issues 2018-07-27 14:40:21 +02:00
Miro Hrončok
dbcd0a111b Create /usr/local/lib/pythonX.Y when needed (#1576924)
In Fedora, sudo setup.py install installs to /usr/local/lib/pythonX.Y/site-packages
But pythonX doesn't own that dir, that would be against FHS
We need to create it if it doesn't exist

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1576924
2018-07-19 12:46:43 +02:00
Fedora Release Engineering
a392970de3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 02:02:57 +00:00
Miro Hrončok
fe55d31b4c Rebuilt for Python 3.7 2018-06-18 11:03:36 +02:00
Miro Hrončok
bfe604d6c4 Bootstrap for Python 3.7 2018-06-13 18:48:35 +02:00
Miro Hrončok
df1f52989e Bootstrap for Python 3.7 2018-06-13 18:22:41 +02:00
Charalampos Stratakis
649929020e update to 39.2.0 Fixes bug #1572889 2018-05-23 15:48:57 +02:00
Charalampos Stratakis
8171b31875 update to 39.0.1 Fixes bug #1531527 2018-03-20 17:33:04 +01:00
Tomas Orsava
08d9f76029 Skip test_virtualenv due to broken executable detection 2018-03-14 16:05:30 +01:00
Haikel Guemar
7a296016bc Fix python3 conditionals on EL 7 and older 2018-02-28 16:17:27 +00:00
Miro Hrončok
825148c4a5 Add BR gcc 2018-02-20 16:14:39 +01:00
Fedora Release Engineering
c02db14941 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 10:47:47 +00:00
Troy Dawson
aab1e86ada Update conditional 2018-01-16 15:29:10 -08:00
Charalampos Stratakis
5599dc6a53 update to 38.4.0 Fixes bug #1531527 2018-01-16 15:48:26 +01:00
Charalampos Stratakis
70bb4d58ff Mark tests that require an active internet connection
as expected failures.

Remove obsolete patch.
2018-01-03 14:08:00 +01:00
Charalampos Stratakis
1c591cc3de update to 38.2.5 Fixes bug #1528968 2018-01-02 19:12:19 +01:00
Miro Hrončok
afde1d3999 Update to 37.0.0 (fixes #1474126) 2017-11-21 23:32:35 +01:00
Miro Hrončok
261a9419ab Update to 36.5.0 (related to #1474126) 2017-11-21 23:19:36 +01:00
Tomas Orsava
03249996da Remove the platform-python subpackage 2017-11-09 14:56:47 +01:00
Tomas Orsava
63cc681fbe Add explicit dependency on pip for tests 2017-08-31 11:40:48 +02:00
Tomas Orsava
35eb21a12d Fix deletion of /usr/bin/easy_install during bootstrap 2017-08-29 11:50:56 +02:00
Tomas Orsava
a9c42b4249 Re-enable tests to finish bootstrapping the platform-python stack 2017-08-20 10:00:17 +02:00
Tomas Orsava
f404b22686 Rename bcond check to tests and add platform_python tests
Bcond check was renamed to tests to unify it with other spec files.
2017-08-15 17:16:22 +02:00
Tomas Orsava
5673c1a858 Add the platform-python subpackage 2017-08-15 17:16:22 +02:00
Tomas Orsava
54eaa03a4d Add Patch that fixes a test suite failure on Python 3
in absence of the Python 2 version of pip.
2017-08-15 17:16:17 +02:00
Tomas Orsava
5b97b5b966 Switch macros to bcond's and make Python 2 optional
To facilitate building the Python 2 and Python 3 modules.
2017-08-09 14:58:48 +02:00
Michal Cyprian
c15bf68d49 Revert "Add --executable option to easy_install command"
This enhancement is currently not needed and it can possibly
collide with `pip --editable`option

Reverts commit 68d566a937.
2017-08-08 16:53:23 +02:00
Fedora Release Engineering
4b01dd0dde - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 11:48:15 +00:00
Charalampos Stratakis
f3ae28b110 update to 36.2.0. Fixes bug #1470908 2017-07-15 14:51:17 +02:00
Charalampos Stratakis
5e5ba5a593 update to 36.0.1. Fixes bug #1458093
Remove dependencies for python-six, python-appdirs and python-packaging
as setuptools started vendoring these dependencies again.
2017-06-15 18:06:37 +02:00
Kevin Fenzi
39db8e7351 update to 35.0.2. Fixes bug #1446622 2017-05-27 15:41:49 -06:00
Kevin Fenzi
c64e6d09b7 Update to 35.0.1. Fixes bug #1440388 2017-04-23 13:55:49 -06:00
Kevin Fenzi
7ed39ba778 Update to 34.3.2. Fixes bug #1428818 2017-03-25 12:58:27 -06:00
Kevin Fenzi
7cd743d379 Update to 34.3.0. Fixes bug #1426463 2017-02-25 11:16:36 -07:00
Michal Cyprian
68d566a937 Add --executable option to easy_install command 2017-02-21 20:17:24 +01:00
Charalampos Stratakis
b683c31786 Update to 34.2.0. Fixes bug #1421676 2017-02-16 14:21:54 +01:00