Unverified Commit aa747350 authored by Fedor Batonogov's avatar Fedor Batonogov Committed by GitHub
Browse files

Python 3.12.0 (#35)

* Python 3.12.0

* Removed tools.msi

* Added pip --version

* Remove pip --version

* Updated readme
parent 6accb0a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
FROM python:3.11.7
FROM python:3.12.0
SHELL ["/bin/bash", "-i", "-c"]

LABEL maintainer="f.batonogov@yandex.ru"
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ LABEL maintainer="f.batonogov@yandex.ru"
ENV DEBIAN_FRONTEND noninteractive

ARG WINE_VERSION=winehq-stable
ARG PYTHON_VERSION=3.11.7
ARG PYTHON_VERSION=3.12.0
ARG PYINSTALLER_VERSION=6.3.0

# we need wine for this all to work, so we'll use the PPA
@@ -37,7 +37,7 @@ ENV PYPI_INDEX_URL=https://pypi.python.org/simple
# the files directly, since installing isn't running correctly.
RUN set -x \
    && winetricks win10 \
    && for msifile in `echo core dev exe lib path pip tcltk tools`; do \
    && for msifile in `echo core dev exe lib path pip tcltk`; do \
        wget -nv "https://www.python.org/ftp/python/$PYTHON_VERSION/amd64/${msifile}.msi"; \
        wine msiexec /i "${msifile}.msi" /qb TARGETDIR=C:/Python3; \
        rm ${msifile}.msi; \
+27 −23
Original line number Diff line number Diff line
@@ -8,9 +8,10 @@ are a trio of Docker containers to ease compiling Python applications to binarie
Images have few tags:

| Image                                                          | TAG                      | Python  | Pyinstaller |
| ------------------------------------------------------------------------------------------- | ------------------------ | ------- | ----------- |
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows`, `batonogov/pyinstaller-osx` | `:v4.0.1`                | 3.11.7  | 6.3.0       |
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows`, `batonogov/pyinstaller-osx` | `:v4.0.0`                | 3.11.6  | 6.3.0       |
| -------------------------------------------------------------- | ------------------------ | ------- | ----------- |
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.1.0`                | 3.20.0  | 6.3.0       |
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.0.1`                | 3.11.7  | 6.3.0       |
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v4.0.0`                | 3.11.6  | 6.3.0       |
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v3.3.1`                | 3.11.6  | 6.3.0       |
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:v3.3.0`                | 3.11.6  | 6.2.0       |
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:python-3.11`/`:v3.2.1` | 3.11.6  | 6.0.0       |
@@ -25,6 +26,14 @@ Images have few tags:
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:3.0.1`                 | 3.11.1  | 5.7.0       |
| `batonogov/pyinstaller-linux`, `batonogov/pyinstaller-windows` | `:python-3.10`           | 3.10.10 | 5.7.0       |

**batonogov/pyinstaller-osx (Experimental) have tags:

| Image                       | TAG       | Python  | Pyinstaller |
| --------------------------- | --------- | ------- | ----------- |
| `batonogov/pyinstaller-osx` | `:v4.1.0` | 3.11.3  | 6.3.0       |
| `batonogov/pyinstaller-osx` | `:v4.0.1` | 3.11.3  | 6.3.0       |
| `batonogov/pyinstaller-osx` | `:v4.0.0` | 3.11.3  | 6.3.0       |

## Usage

There are two containers, one for Linux and one for Windows and one forx osx builds.
@@ -78,17 +87,12 @@ will generate a `spec` file for `your-script.py` in your current working directo

### How do I change the PyInstaller version used?

Add `pyinstaller==5.13.2` to your `requirements.txt`.
Add `pyinstaller==6.2.0` to your `requirements.txt`.

### Is it possible to use a package mirror?

Yes, by supplying the `PYPI_URL` and `PYPI_INDEX_URL` environment variables that point to your PyPi mirror.

## Known Issues

[Outdated Microsoft C++ Build Tools](https://github.com/batonogov/docker-pyinstaller/issues/11)
[ntdll.so Path Missing](https://github.com/batonogov/docker-pyinstaller/issues/23)

## History

Now release information will be [here](https://github.com/batonogov/docker-pyinstaller/releases).