Skip to content

Commit

Permalink
feat: remove python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
YukariChiba authored and deepin-ci-robot committed Aug 16, 2023
1 parent 6f753ef commit 49880c9
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 35 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
python3-defaults (3.10.5-1deepin) unstable; urgency=medium

* Default to python 3.10
* Bump version to 3.10.5

-- Chang Yang <[email protected]> Thu, 10 Aug 2023 10:18:22 +0800

python3-defaults (3.10.4-1) unstable; urgency=medium

* Default to python 3.10.
Expand Down
37 changes: 16 additions & 21 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Package: python3
Architecture: any
Multi-Arch: allowed
Pre-Depends: python3-minimal (= ${binary:Version})
Depends: python3.10 (>= 3.10.4-1~), libpython3-stdlib (= ${binary:Version}), ${misc:Depends}
Depends: python3.10 (>= 3.10.5~), libpython3-stdlib (= ${binary:Version}), ${misc:Depends}
Suggests: python3-doc (>= ${binary:Version}), python3-tk (>= 3.9.10-2~) , python3-venv (>= ${binary:Version})
Replaces: python3-minimal (<< 3.1.2-2)
Provides: python3-profiler
Expand All @@ -33,7 +33,7 @@ Description: interactive high-level object-oriented language (default python3 ve
Package: python3-venv
Architecture: any
Multi-Arch: allowed
Depends: python3.10-venv (>= 3.10.4-1~), python3 (= ${binary:Version}),
Depends: python3.10-venv (>= 3.10.5~), python3 (= ${binary:Version}),
python3-distutils (>= 3.9.10-2~), ${misc:Depends}
Description: venv module for python3 (default python3 version)
This package contains the venv module for the Python language (default python3
Expand All @@ -52,7 +52,7 @@ Description: venv module for python3 (default python3 version)
Package: python3-minimal
Architecture: any
Multi-Arch: allowed
Pre-Depends: python3.10-minimal (>= 3.10.4-1~)
Pre-Depends: python3.10-minimal (>= 3.10.5~)
Depends: dpkg (>= 1.13.20), ${misc:Depends}
Description: minimal subset of the Python language (default python3 version)
This package contains the interpreter and some essential modules. It's used
Expand All @@ -64,7 +64,7 @@ XB-Cnf-Visible-Pkgname: python3
Package: python3-examples
Architecture: all
Multi-Arch: foreign
Depends: python3 (>= ${binary:Version}), python3.10-examples (>= 3.10.4-1~), ${misc:Depends}
Depends: python3 (>= ${binary:Version}), python3.10-examples (>= 3.10.5~), ${misc:Depends}
Description: examples for the Python language (default version)
Examples, Demos and Tools for Python. These are files included in
the upstream Python distribution.
Expand All @@ -76,7 +76,7 @@ Package: python3-dev
Architecture: any
Multi-Arch: allowed
Depends: python3 (= ${binary:Version}), libpython3-dev (= ${binary:Version}),
python3.10-dev (>= 3.10.4-1~), python3-distutils (>= 3.9.10-2~),
python3.10-dev (>= 3.10.5~), python3-distutils (>= 3.9.10-2~),
${misc:Depends}, ${sphinxdoc:Depends}
Breaks: python3 (<< 3.9.2-1~)
Replaces: python3.1 (<< 3.1.2+20100706-3), python3 (<< 3.9.2-1~)
Expand All @@ -93,7 +93,7 @@ Package: libpython3-dev
Architecture: any
Multi-Arch: same
Section: libdevel
Depends: libpython3.10-dev (>= 3.10.4-1~), ${misc:Depends}
Depends: libpython3.10-dev (>= 3.10.5~), ${misc:Depends}
Breaks: libpython3.8-dev (<< 3.8.0-2), python3-dev (<< 3.8.0-1)
Replaces: libpython3.8-dev (<< 3.8.0-2), python3-dev (<< 3.8.0-1)
Description: header files and a static library for Python (default)
Expand All @@ -107,7 +107,7 @@ Description: header files and a static library for Python (default)
Package: libpython3-stdlib
Architecture: any
Multi-Arch: same
Depends: libpython3.10-stdlib (>= 3.10.4-1~), ${misc:Depends}
Depends: libpython3.10-stdlib (>= 3.10.5~), ${misc:Depends}
Description: interactive high-level object-oriented language (default python3 version)
This package contains the majority of the standard library for the Python
language (default python3 version).
Expand Down Expand Up @@ -141,7 +141,7 @@ Package: python3-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Depends: python3.10-doc (>= 3.10.4-1~), ${misc:Depends}
Depends: python3.10-doc (>= 3.10.5~), ${misc:Depends}
Suggests: python3 (>= ${binary:Version}), python3-examples
Description: documentation for the high-level object-oriented language Python 3
This is the official set of documentation for the interactive high-level
Expand All @@ -165,7 +165,7 @@ Package: python3-dbg
Architecture: any
Multi-Arch: allowed
Section: debug
Depends: python3 (= ${binary:Version}), libpython3-dbg (= ${binary:Version}), python3.10-dbg (>= 3.10.4-1~), ${misc:Depends}
Depends: python3 (= ${binary:Version}), libpython3-dbg (= ${binary:Version}), python3.10-dbg (>= 3.10.5~), ${misc:Depends}
Description: debug build of the Python 3 Interpreter (version 3.10)
Python 3 interpreter configured with --pydebug. Dynamically loaded modules
are searched in /usr/lib/python3.10/lib-dynload/debug first.
Expand All @@ -174,7 +174,7 @@ Package: libpython3-dbg
Architecture: any
Multi-Arch: same
Section: debug
Depends: libpython3.10-dbg (>= 3.10.4-1~), ${misc:Depends}
Depends: libpython3.10-dbg (>= 3.10.5~), ${misc:Depends}
Breaks: python3-dbg (<< 3.8.0-1)
Replaces: python3-dbg (<< 3.8.0-1)
Description: debug build of the Python 3 Interpreter (version 3.10)
Expand All @@ -187,10 +187,9 @@ Multi-Arch: allowed
Depends: python3 (= ${binary:Version}),
${misc:Depends},
python3-distutils (>= 3.9.10-2~),
python3.9,
python3.10,
Description: package depending on all supported Python 3 runtime versions
The package currently depends on python3.9 and python3.10, in the future,
The package currently depends on python3.10, in the future,
dependencies on jython (Python for a JVM) and ironpython (Python for Mono)
may be added.
.
Expand All @@ -205,10 +204,9 @@ Depends: python3 (= ${binary:Version}),
python3-all (= ${binary:Version}),
python3-dev (= ${binary:Version}),
${misc:Depends},
python3.9-dev,
python3.10-dev,
Description: package depending on all supported Python 3 development packages
The package currently depends on python3.9-dev and python3.10-dev, in the
The package currently depends on python3.10-dev, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
Expand All @@ -225,10 +223,9 @@ Depends: python3 (= ${binary:Version}),
python3-all (= ${binary:Version}),
python3-dbg (= ${binary:Version}),
${misc:Depends},
python3.9-dbg,
python3.10-dbg,
Description: package depending on all supported Python 3 debugging packages
The package currently depends on python3.9-dbg and python3.10-dbg, in the
The package currently depends on python3.10-dbg, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
Expand All @@ -241,10 +238,9 @@ Multi-Arch: same
Section: libdevel
Depends: libpython3-dev (= ${binary:Version}),
${misc:Depends},
libpython3.9-dev,
libpython3.10-dev,
Description: package depending on all supported Python 3 development packages
The package currently depends on libpython3.9-dev and libpython3.10-dev, in the
The package currently depends on libpython3.10-dev, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
Expand All @@ -258,10 +254,9 @@ Multi-Arch: same
Section: debug
Depends: libpython3-dbg (= ${binary:Version}),
${misc:Depends},
libpython3.9-dbg,
libpython3.10-dbg,
Description: package depending on all supported Python 3 debugging packages
The package currently depends on libpython3.9-dbg and libpython3.10-dbg, in the
The package currently depends on libpython3.10-dbg, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
Expand Down Expand Up @@ -289,7 +284,7 @@ Package: python3-full
Architecture: any
Multi-Arch: allowed
Depends: python3 (= ${binary:Version}),
python3.10-full (>= 3.10.4-1~),
python3.10-full (>= 3.10.5~),
python3-venv (= ${binary:Version}),
2to3,
idle,
Expand Down
15 changes: 5 additions & 10 deletions debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@ Multi-Arch: allowed
Depends: python3 (= ${binary:Version}),
${misc:Depends},
python3-distutils (>= @STDLIBVER@),
python3.9,
python3.10,
Description: package depending on all supported Python 3 runtime versions
The package currently depends on python3.9 and python3.10, in the future,
The package currently depends on python3.10, in the future,
dependencies on jython (Python for a JVM) and ironpython (Python for Mono)
may be added.
.
Expand All @@ -205,10 +204,9 @@ Depends: python3 (= ${binary:Version}),
python3-all (= ${binary:Version}),
python3-dev (= ${binary:Version}),
${misc:Depends},
python3.9-dev,
python3.10-dev,
Description: package depending on all supported Python 3 development packages
The package currently depends on python3.9-dev and python3.10-dev, in the
The package currently depends on python3.10-dev, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
Expand All @@ -225,10 +223,9 @@ Depends: python3 (= ${binary:Version}),
python3-all (= ${binary:Version}),
python3-dbg (= ${binary:Version}),
${misc:Depends},
python3.9-dbg,
python3.10-dbg,
Description: package depending on all supported Python 3 debugging packages
The package currently depends on python3.9-dbg and python3.10-dbg, in the
The package currently depends on python3.10-dbg, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
Expand All @@ -241,10 +238,9 @@ Multi-Arch: same
Section: libdevel
Depends: libpython3-dev (= ${binary:Version}),
${misc:Depends},
libpython3.9-dev,
libpython3.10-dev,
Description: package depending on all supported Python 3 development packages
The package currently depends on libpython3.9-dev and libpython3.10-dev, in the
The package currently depends on libpython3.10-dev, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
Expand All @@ -258,10 +254,9 @@ Multi-Arch: same
Section: debug
Depends: libpython3-dbg (= ${binary:Version}),
${misc:Depends},
libpython3.9-dbg,
libpython3.10-dbg,
Description: package depending on all supported Python 3 debugging packages
The package currently depends on libpython3.9-dbg and libpython3.10-dbg, in the
The package currently depends on libpython3.10-dbg, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
Expand Down
6 changes: 3 additions & 3 deletions debian/debian_defaults
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
default-version = python3.10

# all supported python3 versions
supported-versions = python3.9, python3.10
supported-versions = python3.10

# formerly supported python3 versions
old-versions = python3.1, python3.2, python3.3, python3.4, python3.5, python3.6, python3.7, python3.8
old-versions = python3.1, python3.2, python3.3, python3.4, python3.5, python3.6, python3.7, python3.8, python3.9

# unsupported versions, including older versions
unsupported-versions = python3.1, python3.2, python3.3, python3.4, python3.5, python3.6, python3.7, python3.8
unsupported-versions = python3.1, python3.2, python3.3, python3.4, python3.5, python3.6, python3.7, python3.8, python3.9
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ distribution := $(shell dpkg-vendor --query Vendor)
distrelease := $(shell lsb_release -cs)

# requiered python3.x version
UPSTRVER := 3.10.4-1~
UPSTRVER := 3.10.5~

# required versions of python3-lib2to3 and python3-distutils
STDLIBVER := 3.9.10-2~
Expand Down

0 comments on commit 49880c9

Please sign in to comment.