File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : PyGAD PyTest / Python 3.12
2
2
3
+ # Cannot install packages in Python 3.12.
4
+ # The reason is that we use setuptools to install the packages.
5
+ # setuptools depends on distutils.
6
+ # But Python 3.12 does not support distutils.
7
+ # Let's wait until setuptools changes its dependencies.
8
+
3
9
on :
4
10
push :
5
11
branches :
6
- - github-actions
12
+ # - github-actions
7
13
# - master
8
14
9
15
jobs :
@@ -22,19 +28,12 @@ jobs:
22
28
23
29
- name : Build PyGAD from the Repository
24
30
run : |
25
- # pip3 install distutils
26
- echo 'SETUPTOOLS_USE_DISTUTILS=stdlib'
27
- # sudo apt-get install python3-distutils
28
31
python3 -m pip install --upgrade build
29
32
python3 -m build
30
33
31
- # pip3 install setuptools==58.2.0
32
- # python3.12 -m build --sdist --wheel
33
-
34
34
- name : Install PyGAD after Building the .whl File
35
35
run : |
36
- # find ./dist/*.whl | xargs pip install
37
- find ./dist/*.whl | xargs python3.12 -m pip install
36
+ find ./dist/*.whl | xargs pip install
38
37
39
38
- name : Install PyTest
40
39
run : pip install pytest
You can’t perform that action at this time.
0 commit comments