Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,21 @@ pyoxidizer-release-upload commit tag:
pyoxidizer-release:
just _release pyoxidizer 'PyOxidizer'

pyoxidizer-update-python-distributions: _python_scripts_venv
scripts/venv/bin/python3 \
scripts/fetch-python-distributions.py \
--api-token $GH_API_TOKEN > pyoxidizer/src/default_python_distributions.rs
rustfmt pyoxidizer/src/default_python_distributions.rs

# Perform Rust crate releases.
release-rust:
cargo release release --exclude pyoxidizer --execute
cargo release release -p pyoxidizer --execute

# Create virtual environment and install dependencies for Python scripts in it.
_python_scripts_venv:
#!/usr/bin/env bash
if [ ! -d scripts/venv ]; then
python3 -m venv scripts/venv
scripts/venv/bin/pip install -r scripts/requirements.txt
fi
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
``X.Y`` *major.minor* string denoting the Python release version
to use.

Supported values are ``3.8``, ``3.9``, and ``3.10``.
Supported values are ``3.8``, ``3.9``, ``3.10``, ``3.11``, and ``3.12``.

``flavor`` is a string denoting the distribution *flavor*. Values can be one
of the following:
Expand Down
2 changes: 1 addition & 1 deletion pyoxidizer/docs/pyoxidizer_getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Getting Started
Python Requirements
===================

PyOxidizer currently targets Python 3.8, 3.9, and 3.10. Your Python application
PyOxidizer currently targets Python 3.8, 3.9, 3.10, 3.11 and 3.12. Your Python application
will need to already be compatible with 1 of these versions for it to work with
PyOxidizer. See :ref:`faq_python_38` for more on the minimum Python requirement.

Expand Down
146 changes: 91 additions & 55 deletions pyoxidizer/docs/pyoxidizer_packaging_python_distributions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,61 +25,97 @@ and should have maximum compatibility.

Here are the built-in Python distributions:

+---------+---------+--------------------+--------------+------------+
| Source | Version | Flavor | Build Target |
+=========+=========+====================+===========================+
| CPython | 3.9.16 | standalone_dynamic | aarch64-unknown-linux-gnu |
+---------+---------+--------------------+---------------------------+
| CPython | 3.10.9 | standalone_dynamic | aarch64-unknown-linux-gnu |
+---------+---------+--------------------+---------------------------+
| CPython | 3.8.16 | standalone_dynamic | x86_64-unknown-linux-gnu |
+---------+---------+--------------------+---------------------------+
| CPython | 3.9.16 | standalone_dynamic | x86_64-unknown-linux-gnu |
+---------+---------+--------------------+---------------------------+
| CPython | 3.10.9 | standalone_dynamic | x86_64-unknown-linux-gnu |
+---------+---------+--------------------+---------------------------+
| CPython | 3.8.16 | standalone_static | x86_64-unknown-linux-musl |
+---------+---------+--------------------+---------------------------+
| CPython | 3.9.16 | standalone_static | x86_64-unknown-linux-musl |
+---------+---------+--------------------+---------------------------+
| CPython | 3.10.9 | standalone_static | x86_64-unknown-linux-musl |
+---------+---------+--------------------+---------------------------+
| CPython | 3.8.16 | standalone_dynamic | i686-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.9.16 | standalone_dynamic | i686-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.10.9 | standalone_dynamic | i686-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.8.16 | standalone_static | i686-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.9.16 | standalone_static | i686-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.10.9 | standalone_static | i686-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.8.16 | standalone_dynamic | x86_64-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.9.16 | standalone_dynamic | x86_64-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.10.9 | standalone_dynamic | x86_64-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.8.16 | standalone_static | x86_64-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.9.16 | standalone_static | x86_64-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.10.9 | standalone_static | x86_64-pc-windows-msvc |
+---------+---------+--------------------+---------------------------+
| CPython | 3.8.16 | standalone_dynamic | aarch64-apple-darwin |
+---------+---------+--------------------+---------------------------+
| CPython | 3.9.16 | standalone_dynamic | aarch64-apple-darwin |
+---------+---------+--------------------+---------------------------+
| CPython | 3.10.9 | standalone_dynamic | aarch64-apple-darwin |
+---------+---------+--------------------+---------------------------+
| CPython | 3.8.16 | standalone_dynamic | x86_64-apple-darwin |
+---------+---------+--------------------+---------------------------+
| CPython | 3.9.16 | standalone_dynamic | x86_64-apple-darwin |
+---------+---------+--------------------+---------------------------+
| CPython | 3.10.9 | standalone_dynamic | x86_64-apple-darwin |
+---------+---------+--------------------+---------------------------+
+---------+----------+--------------------+--------------+------------+
| Source | Version | Flavor | Build Target |
+=========+==========+====================+===========================+
| CPython | 3.9.18 | standalone_dynamic | aarch64-unknown-linux-gnu |
+---------+----------+--------------------+---------------------------+
| CPython | 3.10.13 | standalone_dynamic | aarch64-unknown-linux-gnu |
+---------+----------+--------------------+---------------------------+
| CPython | 3.11.8 | standalone_dynamic | aarch64-unknown-linux-gnu |
+---------+----------+--------------------+---------------------------+
| CPython | 3.12.2 | standalone_dynamic | aarch64-unknown-linux-gnu |
+---------+----------+--------------------+---------------------------+
| CPython | 3.8.18 | standalone_dynamic | x86_64-unknown-linux-gnu |
+---------+----------+--------------------+---------------------------+
| CPython | 3.9.18 | standalone_dynamic | x86_64-unknown-linux-gnu |
+---------+----------+--------------------+---------------------------+
| CPython | 3.10.13 | standalone_dynamic | x86_64-unknown-linux-gnu |
+---------+----------+--------------------+---------------------------+
| CPython | 3.11.8 | standalone_dynamic | x86_64-unknown-linux-gnu |
+---------+----------+--------------------+---------------------------+
| CPython | 3.12.2 | standalone_dynamic | x86_64-unknown-linux-gnu |
+---------+----------+--------------------+---------------------------+
| CPython | 3.8.18 | standalone_static | x86_64-unknown-linux-musl |
+---------+----------+--------------------+---------------------------+
| CPython | 3.9.18 | standalone_static | x86_64-unknown-linux-musl |
+---------+----------+--------------------+---------------------------+
| CPython | 3.10.13 | standalone_static | x86_64-unknown-linux-musl |
+---------+----------+--------------------+---------------------------+
| CPython | 3.11.2 | standalone_static | x86_64-unknown-linux-musl |
+---------+----------+--------------------+---------------------------+
| CPython | 3.12.2 | standalone_static | x86_64-unknown-linux-musl |
+---------+----------+--------------------+---------------------------+
| CPython | 3.8.18 | standalone_dynamic | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.9.18 | standalone_dynamic | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.10.13 | standalone_dynamic | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.11.8 | standalone_dynamic | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.12.2 | standalone_dynamic | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.8.18 | standalone_static | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.9.18 | standalone_static | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.10.13 | standalone_static | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.11.8 | standalone_static | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.12.2 | standalone_static | i686-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.8.18 | standalone_dynamic | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.9.18 | standalone_dynamic | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.10.13 | standalone_dynamic | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.11.8 | standalone_dynamic | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.12.2 | standalone_dynamic | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.8.18 | standalone_static | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.9.18 | standalone_static | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.10.13 | standalone_static | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.11.8 | standalone_static | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.12.2 | standalone_static | x86_64-pc-windows-msvc |
+---------+----------+--------------------+---------------------------+
| CPython | 3.8.18 | standalone_dynamic | aarch64-apple-darwin |
+---------+----------+--------------------+---------------------------+
| CPython | 3.9.18 | standalone_dynamic | aarch64-apple-darwin |
+---------+----------+--------------------+---------------------------+
| CPython | 3.10.13 | standalone_dynamic | aarch64-apple-darwin |
+---------+----------+--------------------+---------------------------+
| CPython | 3.11.8 | standalone_dynamic | aarch64-apple-darwin |
+---------+----------+--------------------+---------------------------+
| CPython | 3.12.2 | standalone_dynamic | aarch64-apple-darwin |
+---------+----------+--------------------+---------------------------+
| CPython | 3.8.18 | standalone_dynamic | x86_64-apple-darwin |
+---------+----------+--------------------+---------------------------+
| CPython | 3.9.18 | standalone_dynamic | x86_64-apple-darwin |
+---------+----------+--------------------+---------------------------+
| CPython | 3.10.13 | standalone_dynamic | x86_64-apple-darwin |
+---------+----------+--------------------+---------------------------+
| CPython | 3.11.8 | standalone_dynamic | x86_64-apple-darwin |
+---------+----------+--------------------+---------------------------+
| CPython | 3.12.2 | standalone_dynamic | x86_64-apple-darwin |
+---------+----------+--------------------+---------------------------+

All of these distributions are provided by the
`python-build-standalone <https://github.com/indygreg/python-build-standalone>`_,
Expand Down
2 changes: 1 addition & 1 deletion pyoxidizer/docs/pyoxidizer_status.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Lesser Missing Features
Python Version Support
----------------------

Python 3.8, 3.9, and 3.10 are currently supported. Older versions of
Python 3.8, 3.9, 3.10, 3.11 and 3.12 are currently supported. Older versions of
PyOxidizer (through version 0.7) supported Python 3.7. See
:ref:`faq_python_38` for why we require these Python versions.

Expand Down
Loading