41
41
python3.9 python3.9-dev \
42
42
python3.10 python3.10-dev \
43
43
python3.11 python3.11-dev \
44
+ python3.12 python3.12-dev \
44
45
python3-pip \
45
46
git
46
47
pip install maturin
@@ -50,13 +51,13 @@ jobs:
50
51
env :
51
52
MATURIN_PYPI_TOKEN :${{ secrets.TEST_PYPI_API_TOKEN }}
52
53
PYTHON_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
54
55
-name :Build and deploy wheels to PyPI
55
56
if :github.event.inputs.deploy_to_pypi == 'true'
56
57
env :
57
58
MATURIN_PYPI_TOKEN :${{ secrets.PYPI_API_TOKEN }}
58
59
PYTHON_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
60
61
61
62
deploy-python-sdk-mac :
62
63
runs-on :macos-latest
@@ -80,25 +81,26 @@ jobs:
80
81
brew install python@3.9
81
82
brew install python@3.10
82
83
brew install python@3.11
84
+ brew install python@3.12
83
85
pip3 install maturin
84
86
-name :Build and deploy wheels to TestPyPI
85
87
if :github.event.inputs.deploy_to_pypi == 'false'
86
88
env :
87
89
MATURIN_PYPI_TOKEN :${{ secrets.TEST_PYPI_API_TOKEN }}
88
90
PYTHON_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
90
92
-name :Build and deploy wheels to PyPI
91
93
if :github.event.inputs.deploy_to_pypi == 'true'
92
94
env :
93
95
MATURIN_PYPI_TOKEN :${{ secrets.PYPI_API_TOKEN }}
94
96
PYTHON_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
96
98
97
99
deploy-python-sdk-windows :
98
100
runs-on :windows-latest
99
101
strategy :
100
102
matrix :
101
- python-version :["3.8", "3.9", "3.10", "3.11"]
103
+ python-version :["3.8", "3.9", "3.10", "3.11", "3.12" ]
102
104
defaults :
103
105
run :
104
106
working-directory :pgml-sdks\pgml
@@ -124,10 +126,10 @@ jobs:
124
126
env :
125
127
MATURIN_PYPI_TOKEN :${{ secrets.TEST_PYPI_API_TOKEN }}
126
128
PYTHON_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
128
130
-name :Build and deploy wheels to PyPI
129
131
if :github.event.inputs.deploy_to_pypi == 'true'
130
132
env :
131
133
MATURIN_PYPI_TOKEN :${{ secrets.PYPI_API_TOKEN }}
132
134
PYTHON_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