4141 python3.9 python3.9-dev \
4242 python3.10 python3.10-dev \
4343 python3.11 python3.11-dev \
44+ python3.12 python3.12-dev \
4445 python3-pip \
4546 git
4647 pip install maturin
@@ -50,13 +51,13 @@ jobs:
5051env :
5152MATURIN_PYPI_TOKEN :${{ secrets.TEST_PYPI_API_TOKEN }}
5253PYTHON_STUB_FILE :" python/pgml/pgml.pyi"
53- run :maturin publish -r testpypi -i python3.7 -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
54+ run :maturin publish -r testpypi -i python3.7 -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 - -skip-existing -F python
5455 -name :Build and deploy wheels to PyPI
5556if :github.event.inputs.deploy_to_pypi == 'true'
5657env :
5758MATURIN_PYPI_TOKEN :${{ secrets.PYPI_API_TOKEN }}
5859PYTHON_STUB_FILE :" python/pgml/pgml.pyi"
59- run :maturin publish -i python3.7 -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
60+ run :maturin publish -i python3.7 -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 - -skip-existing -F python
6061
6162deploy-python-sdk-mac :
6263runs-on :macos-latest
@@ -80,25 +81,26 @@ jobs:
8081 brew install python@3.9
8182 brew install python@3.10
8283 brew install python@3.11
84+ brew install python@3.12
8385 pip3 install maturin
8486 -name :Build and deploy wheels to TestPyPI
8587if :github.event.inputs.deploy_to_pypi == 'false'
8688env :
8789MATURIN_PYPI_TOKEN :${{ secrets.TEST_PYPI_API_TOKEN }}
8890PYTHON_STUB_FILE :" python/pgml/pgml.pyi"
89- run :maturin publish -r testpypi -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
91+ run :maturin publish -r testpypi -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 - -skip-existing -F python
9092 -name :Build and deploy wheels to PyPI
9193if :github.event.inputs.deploy_to_pypi == 'true'
9294env :
9395MATURIN_PYPI_TOKEN :${{ secrets.PYPI_API_TOKEN }}
9496PYTHON_STUB_FILE :" python/pgml/pgml.pyi"
95- run :maturin publish -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
97+ run :maturin publish -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 - -skip-existing -F python
9698
9799deploy-python-sdk-windows :
98100runs-on :windows-latest
99101strategy :
100102matrix :
101- python-version :["3.8", "3.9", "3.10", "3.11"]
103+ python-version :["3.8", "3.9", "3.10", "3.11", "3.12" ]
102104defaults :
103105run :
104106working-directory :pgml-sdks\pgml
@@ -124,10 +126,10 @@ jobs:
124126env :
125127MATURIN_PYPI_TOKEN :${{ secrets.TEST_PYPI_API_TOKEN }}
126128PYTHON_STUB_FILE :" python/pgml/pgml.pyi"
127- run :maturin publish -r testpypi -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
129+ run :maturin publish -r testpypi -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 - -skip-existing -F python
128130 -name :Build and deploy wheels to PyPI
129131if :github.event.inputs.deploy_to_pypi == 'true'
130132env :
131133MATURIN_PYPI_TOKEN :${{ secrets.PYPI_API_TOKEN }}
132134PYTHON_STUB_FILE :" python/pgml/pgml.pyi"
133- run :maturin publish -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
135+ run :maturin publish -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 - -skip-existing -F python