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 11name : PyGAD PyTest / Python 3.12
22
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+
39on :
410 push :
511 branches :
6- - github-actions
12+ # - github-actions
713 # - master
814
915jobs :
@@ -22,19 +28,12 @@ jobs:
2228
2329 - name : Build PyGAD from the Repository
2430 run : |
25- # pip3 install distutils
26- echo 'SETUPTOOLS_USE_DISTUTILS=stdlib'
27- # sudo apt-get install python3-distutils
2831 python3 -m pip install --upgrade build
2932 python3 -m build
3033
31- # pip3 install setuptools==58.2.0
32- # python3.12 -m build --sdist --wheel
33-
3434 - name : Install PyGAD after Building the .whl File
3535 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
3837
3938 - name : Install PyTest
4039 run : pip install pytest
You can’t perform that action at this time.
0 commit comments