8000 Test Python 3.12 Beta · Shawmo/GeneticAlgorithmPython@56b1295 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56b1295

Browse files
committed
Test Python 3.12 Beta
1 parent 3761236 commit 56b1295

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/main_py312.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ jobs:
2222

2323
- name: Build PyGAD from the Repository
2424
run: |
25-
# python3 -m pip install --upgrade build
26-
pip3 install setuptools==58.2.0
27-
pip3 install build
28-
python3.12 -m build --sdist --wheel
29-
# python3 -m build
25+
pip3 install distutils
26+
python3 -m pip install --upgrade build
27+
python3 -m build
28+
29+
# pip3 install setuptools==58.2.0
30+
# python3.12 -m build --sdist --wheel
3031
3132
- name: Install PyGAD after Building the .whl File
3233
run: |
33-
find ./dist/*.whl | xargs python3.12 -m pip install
34+
find ./dist/*.whl | xargs -m pip install
35+
# find ./dist/*.whl | xargs python3.12 -m pip install
3436
3537
- name: Install PyTest
3638
run: pip install pytest

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools>=61.0"]
3-
# requires = ["setuptools"]
2+
# requires = ["setuptools>=61.0"]
3+
requires = ["setuptools"]
44
build-backend = "setuptools.build_meta"
55
# requires = ["hatchling"]
66
# build-backend = "hatchling.build"

0 commit comments

Comments
 (0)
0