Commit Graph

736 Commits

Author SHA1 Message Date
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
Miro Hrončok
dd49c3369d Fedora CI: Make the marshalparser dependency mandatory
Fedora 32 goes EOL and marshalparser is available on Fedora 33+.
2021-05-25 00:56:32 +02:00
Zbigniew Jędrzejewski-Szmek
ac9a5093cb Add Provides to match the Ubuntu convention
There are many Ubuntu users out there. Let's be nice and Provide the
same package name, so that a command typed from memory will also work
here.
2021-05-13 13:11:06 +00:00
Tomas Hrnciar
5c3c99eb42 Update to 3.10.0b1 2021-05-04 18:13:03 +02:00
Miro Hrončok
fceb683095 Add rpminspect configuration file 2021-04-28 14:16:26 +00:00
Miro Hrončok
593224df20 Stop Recommending setuptools and move the pip Recommendation to python3-devel
With modern pip, setuptools is not required on runtime.
Python packages use PEP 517 instead.

Hence, we no longer Recommend setuptools and pip, but pip only.

Users who are impacted may see one of:

    ModuleNotFoundError: No module named 'setuptools'
    ModuleNotFoundError: No module named 'pkg_resoureces'

They can easily recover by installing python3-setuptools or python3-pkg_resources.

Related but not explicitly part of:
https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools

Together with this change, we move the pip Recommendation to the python3-devel package.
"Regular users" of Fedora are less likely to need pip and more likely to brick
their systems with it. If they need pip, they can dnf install pip.

Pip (incl. setuptools) still works in environments created with venv or virtualenv.

Not bumping the release because this only affects the package when we
upgrade the main Python in Fedora to 3.10.
2021-04-23 12:57:43 +02:00
Miro Hrončok
19bf595786 Do not require python3-setuptools from python3-devel
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools

Not bumping the release because this only affects the package in Copr for now,
until we upgrade the main Python in Fedora to 3.10.

Co-authored-by: Tomas Hrnciar <thrnciar@redhat.com>
2021-04-19 13:26:17 +02:00
Tomas Hrnciar
9f5874443d Update to 3.10.0a7 2021-04-06 14:27:52 +02:00
Miro Hrončok
786b31e188 rpmlint: Filter a new way of unversioned Obsoletes warning 2021-03-26 14:29:07 +00:00
Miro Hrončok
a17e94618c rpmlint: library-not-linked-against-libc/shared-lib-without-dependency-information may be a warning 2021-03-26 14:48:26 +01:00
Miro Hrončok
d11fccfd4f rpmlint: Don't report extra tokens at the end of %endif/%else directives 2021-03-26 14:48:26 +01:00
Miro Hrončok
8aff12c51e When flat, don't require/provide python(abi) = 3.10
The regex was broken for two+ digit minor version.

Providing python(abi) = 3.10 confuses the dependency resolution in the
Python 3.10 testing copr.

E.g. python3-sphinx requires `python(abi) = 3.10` and `/usr/bin/python3`.
In certain circumstances, dnf installs python3 and python3.10 from rawhide,
satisfying both of the dependencies.

Running `sphinx-build` hence ends up with:

    Traceback (most recent call last):
      File "/usr/bin/sphinx-build", line 5, in <module>
        from sphinx.cmd.build import main
    ModuleNotFoundError: No module named 'sphinx'
2021-03-22 12:44:11 +01:00
Tomas Hrnciar
87f3cf679a Update to 3.10.0a6 2021-03-02 18:03:24 +01:00
Tomas Hrnciar
4a2922475a Update to 3.10.0a5 2021-02-04 11:17:36 +01:00
Fedora Release Engineering
ecc447a2f8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 14:27:44 +00:00
Charalampos Stratakis
b8b7372cd5 Compile the debug build with -O0 instead of -Og (rhbz#1818857) 2021-01-19 16:22:16 +01:00
Miro Hrončok
d059157127 Update to 3.10.0a4 2021-01-05 00:29:47 +01:00
Tomas Hrnciar
eb9dd45945 Update to 3.10.0a3 2020-12-08 09:44:22 +01:00
Miro Hrončok
3b24e77f3e BuildRequire make explicitly
See https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-07 19:35:08 +01:00
Tomas Orsava
443a3d1807 Add comment about BuildRequiring self 2020-11-30 18:49:05 +01:00
Miro Hrončok
b7e6ca08eb Add explicit requirement on tzdata (needed for zoneinfo)
See https://twitter.com/pganssle/status/1327344516475531272

Not bumping a release, tzdata is pulled in transitively, so the impact is minimal.
2020-11-14 18:58:00 +01:00
Miro Hrončok
8e77406a59 Revert "CI: Skip marshalparser tests for now"
This reverts commit 797514b3c7.
2020-11-10 13:34:52 +01:00
Miro Hrončok
a045b8fca0 Drop the no_semantic_interposition %bcond
Since 3.10.0a2, this is the default behavior upstream

See https://bugs.python.org/issue38980
2020-11-04 18:55:04 +01:00
Miro Hrončok
797514b3c7 CI: Skip marshalparser tests for now
Breakage reported upstream https://github.com/fedora-python/marshalparser/issues/10
2020-11-04 10:35:00 +01:00
Miro Hrončok
baff8f4745 Update to 3.10.0a2 2020-11-04 01:52:22 +01:00
Miro Hrončok
13d401b11a Hardcode %{_bindir} into python-config script + remove unreachable error handling
The `dirname $0` breaks the script when it is linked to a different location,
for example the RHEL's /usr/libexec/platform-python-config.

The error handling was never reachable, failed exec ends the script.

See https://src.fedoraproject.org/rpms/python3.9/pull-request/38
2020-10-27 16:06:38 +00:00
Tomas Orsava
0995309f1a Add /usr/bin/2to3-X.Y binary for consistency with pathfixX.Y.py and other binaries 2020-10-22 11:52:04 +02:00
Tomas Orsava
87301192dc Remove old Conflicts from Fedora 31 2020-10-21 15:49:52 +02:00
Miro Hrončok
ab0ca78ac0 Fedora CI: Make marshalparser test optional
marshalparser does not exist yet on Fedora 32.
2020-10-13 22:23:21 +02:00
Miro Hrončok
d20101fdfc Finish initial bootstrap, build Python 3.10 with Python 3.10 2020-10-12 21:03:07 +02:00
Miro Hrončok
d3f7caa77a Initial Python 3.10 package forked from Python 3.9 2020-10-12 10:32:54 +02:00
Miro Hrončok
9ceb5be63d Rpmlint: Filter out python-bytecode-without-source warnings for encodings and pydoc_data 2020-10-09 12:13:10 +02:00
Miro Hrončok
68997e05e0 Update to 3.9.0 final 2020-10-06 08:21:43 +02:00
Miro Hrončok
62490dd1cc Use upstream architecture names on Fedora 34+
https://fedoraproject.org/wiki/Changes/Python_Upstream_Architecture_Names

 - repalce patch 274 witch a sed call
 - update patch 353 to work both ways
 - add a new bcond to control the behavior: legacy_archnames
2020-09-29 10:36:44 +02:00
Miro Hrončok
3dbe18122c Update to 3.9.0rc2
Patch 111 was rebased manually but trivially.
2020-09-17 13:56:42 +02:00
Petr Viktorin
95b9984480 In sys.version and initial REPL message, list the source commit as "default"
We create an artificial Git repo to apply patches.
Python build system thinks that it's building from Git and embeds a bogus
branch name into its version string:

$ python3
Python 3.9.0b5 (heads/master-dirty:24c7f56, Aug  3 2020, 00:00:00)
[GCC 10.2.1 20200804 (Red Hat 10.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.

Tell configure that Git is not installed. This reverts that part
of sys.version to "default".
2020-08-12 18:34:28 +02:00
Miro Hrončok
5a353698ca Update to 3.9.0rc1
setuptools/pip versions got bumped, all other patches applied cleanly.
2020-08-12 00:04:34 +02:00