Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit c685a09

Browse files
committed
Bump development version to 3.11.
1 parent 996c311 commit c685a09

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

Makefile

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ PROJECT_DIR=$(shell pwd)
44
BUILD_NUMBER=custom
55

66
# Version of packages that will be compiled by this meta-package
7-
PYTHON_VERSION=3.10.0
7+
# PYTHON_VERSION is the full version number (e.g., 3.10.0b3)
8+
# PYTHON_MICRO_VERSION is the full version number, without any alpha/beta/rc suffix. (e.g., 3.10.0)
9+
# PYTHON_VER is the major/minor version (e.g., 3.10)
10+
PYTHON_VERSION=3.11.0b3
11+
PYTHON_MICRO_VERSION=$(shell echo $(PYTHON_VERSION) | grep -Po "\d+\.\d+\.\d+")
812
PYTHON_VER=$(basename $(PYTHON_VERSION))
13+
914
ARCH=$(shell uname -m)
1015

1116
all:
@@ -17,7 +22,7 @@ all:
1722
-v $(PROJECT_DIR)/downloads:/local/downloads \
1823
-v $(PROJECT_DIR)/dist:/local/dist \
1924
-v $(PROJECT_DIR)/build:/local/build \
20-
beeware/python-linux-$(ARCH)-support:$(PYTHON_VER)
25+
beeware/python-linux-$(ARCH)-support
2126

2227
# Clean all builds
2328
clean:
@@ -39,7 +44,10 @@ downloads: downloads/Python-$(PYTHON_VERSION).tgz dependencies
3944
# Download original Python source code archive.
4045
downloads/Python-$(PYTHON_VERSION).tgz:
4146
mkdir -p downloads
42-
if [ ! -e downloads/Python-$(PYTHON_VERSION).tgz ]; then curl -L https://www.python.org/ftp/python/$(PYTHON_VERSION)/Python-$(PYTHON_VERSION).tgz > downloads/Python-$(PYTHON_VERSION).tgz; fi
47+
if [ ! -e downloads/Python-$(PYTHON_VERSION).tgz ]; then \
48+
curl --fail -L https://www.python.org/ftp/python/$(PYTHON_MICRO_VERSION)/Python-$(PYTHON_VERSION).tgz \
49+
-o downloads/Python-$(PYTHON_VERSION).tgz; \
50+
fi
4351

4452
build:
4553
mkdir build

README.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Python Linux Support
22
====================
33

4-
**This is the development version of the repository. It builds a packaged version of Python 3.10.0**.
4+
**This is the development version of the repository. It builds a packaged version of Python 3.11.0b3**.
55
Other Python versions are available by cloning other branches of the main
66
repository.
77

@@ -35,17 +35,15 @@ This will:
3535
applications:
3636

3737
* ``2to3``, ``pip``, ``pydoc``, and ``python-configure`` binaries
38-
* include files
3938
* man pages
4039
* Testing code
4140
* ``idle``
4241
* ``tkinter``
43-
* ``curses``
4442
* ``turtle``
4543

4644
6. Build a tarball of the installed output.
4745

4846
The build products will be in the `build` directory; the distributable tarball
4947
will be in the `dist` directory.
5048

51-
.. _x86_64: https://briefcase-support.org/python?version=3.10&platform=linux&arch=x86_64
49+
.. _x86_64: https://briefcase-support.org/python?version=3.11&platform=linux&arch=x86_64

0 commit comments

Comments
 (0)