Commit Graph

822 Commits

Author SHA1 Message Date
Tomáš Hrnčiar
135d879194 Initial bootstrap for Python 3.11 mass rebuild 2022-06-13 11:58:44 +02:00
Miro Hrončok
d6b108d1a6 Update to 3.11.0b3
Patch 381 was merged upstream
(it was the motivation for an expedited release).
2022-06-01 19:08:32 +02:00
Miro Hrončok
4e62ac5fa9 Ensure that AST nodes without explicit end positions can be compiled 2022-06-01 01:08:48 +02:00
Miro Hrončok
f8d78fe8c7 Update to 3.11.0b2 2022-05-31 21:47:45 +02:00
Miro Hrončok
d7833ee876 Don't hardcode %{ABIFLAGS_debug} 2022-05-31 21:47:45 +02:00
Miro Hrončok
f43b8c104e Don't exclude files that don't exist
When built without debug_build, RPM warns:

    File not found: /builddir/build/BUILDROOT/python3.11-3.11.0~b2-1.fc37.x86_64/usr/lib64/python3.11/_sysconfigdata_d_linux_x86_64-linux-gnu.py
    File not found: /builddir/build/BUILDROOT/python3.11-3.11.0~b2-1.fc37.x86_64/usr/lib64/python3.11/__pycache__/_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311*.pyc

This might become an error in some distant future.
2022-05-31 21:47:45 +02:00
Tomáš Hrnčiar
ac73e8a04f Finish bootstrapping 3.11.0b1 2022-05-10 12:56:18 +02:00
Tomáš Hrnčiar
1993f3aaf2 Update to 3.11.0b1 2022-05-10 11:47:06 +02:00
Tomas Orsava
0ff6a2eef6 Move _sysconfigdata_d_linux*.py to the debug subpackage 2022-04-29 12:24:01 +02:00
Tomas Orsava
bc0e6d534a Remove an rpmlintrc rule that was only relevant to flatpackages 2022-04-29 12:24:01 +02:00
Tomas Orsava
93bef0917d Drop old no-longer-needed Obsoletes of python311 and python3-tools 2022-04-29 12:24:00 +02:00
Tomas Orsava
ff6e0ec3a6 Do not Recommend python*-pip if this is not the main_python
Because we do not ship pip for alternative stacks (outside of `venv`).
2022-04-29 12:23:42 +02:00
Tomas Orsava
294b2649fb Add new bcond for python_abi_provides_for_alt_pythons
By default enabled on EL, disabled on Fedora
2022-04-29 12:23:42 +02:00
Tomas Orsava
6019a968b0 Obsolete python3.X-foo from individual subpackages
e.g. python3-devel now Obsoletes python3.X-devel

We are contemplating splitting alternative Pythons into subpackages, so we need to obsolete each of them from the main Python version.
Related: rhbz#2063227
2022-04-29 12:23:42 +02:00
Tomas Orsava
fad16c3521 Let there *not* be flatpackage
Remove the flatpackage bcond entirely
2022-04-29 12:23:41 +02:00
Tomas Orsava
46f7eeb836 Build Python 3.11 with subpackages (by disabling the flatpackage bcond)
No change in not providing `python(abi)` for alternative Python versions

Resolves: rhbz#2063227
2022-04-29 12:22:51 +02:00
Tomáš Hrnčiar
193c0d331e Finish bootstrapping 3.11.0a7 2022-04-07 10:59:25 +02:00
Tomáš Hrnčiar
113681a061 Update to 3.11.0a7, in bootstrap mode 2022-04-07 08:15:36 +02:00
Miro Hrončok
483c098fba Finish bootstrapping 3.11.0a6 2022-03-08 12:57:38 +01:00
Miro Hrončok
b082002382 CI: Temporarily opt-out from Cython part of the smoke test, 3.11.0a6 breaks is once again 2022-03-08 10:31:06 +01:00
Miro Hrončok
6a8d633a93 Update to 3.11.0a6, in bootstrap mode 2022-03-07 20:18:37 +01:00
Tomáš Hrnčiar
83ff9b9200 Update to 3.11.0a5 2022-02-04 13:14:43 +01:00
Fedora Release Engineering
a0869c012a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:48:54 +00:00
Tomáš Hrnčiar
0fad4d6fae Update to 3.11.0a4 2022-01-17 16:23:56 +01:00
Miro Hrončok
d7572e7d38 Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 2022-01-08 11:12:38 +01:00
Miro Hrončok
771f810493 Supplement tox
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/NVVUXSVSPFQOWIGBE2JNI67HEO7R63ZQ/
2021-12-13 14:14:04 +01:00
Tomáš Hrnčiar
9ff3c68643 Update to 3.11.0a3
Bootstrap bcond is flipped because this update solves the issue when python3.11
didn't built with --without-bootstrap.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2025026
2021-12-10 16:41:02 +01:00
Tomas Orsava
c4313879e7 Use new macros %python_wheel_dir and %python_wheel_pkg_prefix
..for build/requiring wheel packages and for the file location.
This does not actually change the name or the contents of the subpackage.
2021-11-25 12:20:35 +00:00
Tomáš Hrnčiar
651691580e Update to 3.11.0a2
Patch 251 was updated to include specific install scheme for virtualenv
2021-11-15 15:21:45 +01:00
Björn Esser
3dd3c0a42b
Rebuild(libnsl2)
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2021-11-12 22:26:57 +01:00
Tomáš Hrnčiar
cf1cfe95f8 Initial Python 3.11 package forked from Python 3.10 2021-10-11 15:02:04 +02:00
Miro Hrončok
4f08fc3037 Fedora CI: Also test virtualenv 2021-10-11 13:14:41 +02:00
Miro Hrončok
36ed4859ff Cosmetic CI config change: Use the new tox package name 2021-10-11 13:13:50 +02:00
Tomáš Hrnčiar
d2c17b67d0 Enable test_frozentable
test_frozentable was disabled due to error in Python 3.10.0a6. This is
now fixed so test can be enabled again.
2021-10-07 07:30:41 +02:00
Miro Hrončok
47935cfb98 Change the values of sysconfig's "posix_prefix" install scheme to /usr/local
- when RPM build or venv/virtualenv is not detected
- replaces the patch for distutils, as distutils is deprecated

The original values are saved as an additional "rpm_prefix" install scheme.

See https://discuss.python.org/t/pep-632-deprecate-distutils-module/5134/104
for a more detailed rationale.

Downstream only for now, waiting for https://bugs.python.org/issue43976
2021-10-05 11:53:19 +02:00
Miro Hrončok
f2ba079270 Update to 3.10.0 final
Patch 367 was included in this release.
2021-10-04 21:25:03 +02:00
Sahana Prasad
59e0a098f7 Rebuilt with OpenSSL 3.0.0 2021-09-14 19:12:37 +02:00
Tomas Hrnciar
19e0804a72 Update to 3.10.0rc2 2021-09-09 11:41:28 +02:00
Tomas Hrnciar
bda63fb917 Update to 3.10.0rc1 2021-08-04 12:42:48 +02:00
Fedora Release Engineering
7cf9a3a8cd - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 10:31:38 +00:00
Petr Viktorin
d2d07f0ea7 Require pyproject-rpm-macros from python3-devel
Part of the new Python packaging guidelines change:
- https://fedoraproject.org/wiki/Changes/PythonPackagingGuidelines202x
- https://bugzilla.redhat.com/show_bug.cgi?id=1977883
2021-07-16 11:49:45 +02:00
Petr Viktorin
9d4a528953 Provide python3-turtle from python3-tkinter
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1952565
2021-07-16 11:49:45 +02:00
Miro Hrončok
08bde6d5c8 Update to 3.10.0b4
- patch 363 was a backport
- bundled pip was updated to 21.1.3
2021-07-12 00:27:27 +02:00
Miro Hrončok
943f8cc201 Fedora CI: Add rpm -qa output for debugging 2021-06-21 12:01:41 +02:00
Miro Hrončok
d85cc76235 Fedora CI: This is now the main Python 2021-06-21 12:01:41 +02:00
Miro Hrončok
51d9e334af Update to 3.10.0b3 2021-06-18 15:32:30 +02:00
Python Maint
b8586120e5 Rebuilt for Python 3.10 2021-06-01 16:53:08 +02:00
Python Maint
bc9e36d400 Bootstrap for Python 3.10 2021-06-01 16:09:23 +02:00
Tomas Hrnciar
ee49981462 Update to 3.10.0b2 2021-06-01 13:46:16 +02:00
Charalampos Stratakis
da277b0c4e Use the system installed mpdecimal instead of the bundled copy (#1943359) 2021-05-26 10:42:28 +00:00