Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e6ba8e1

Browse files
Merge pull request #326 from ahmedfgad/github-actions
Introduce the gene_constraint parameter
2 parents 8888546 + a4a2eaa commit e6ba8e1

20 files changed

+1587
-1249
lines changed

‎.github/workflows/main_py310.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- github-actions
77
# - master
8+
# Manually trigger the workflow.
9+
workflow_dispatch:
810

911
jobs:
1012
job_id_1:

‎.github/workflows/main_py311.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- github-actions
77
# - master
8+
# Manually trigger the workflow.
9+
workflow_dispatch:
810

911
jobs:
1012
job_id_1:

‎.github/workflows/main_py312.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
name: PyGAD PyTest / Python 3.12
22

3-
# Cannot install packages in Python 3.12.
4-
# The reason is that we use pip for installing packages.
5-
# pip uses setuptools for the installation.
6-
# setuptools depends on distutils.
7-
# But Python 3.12 does not support distutils.
8-
# Let's wait until setuptools changes its dependencies.
9-
10-
# on:
11-
# push:
12-
# branches:
13-
# - github-actions
3+
on:
4+
push:
5+
branches:
6+
- github-actions
147
# - master
15-
on: workflow_dispatch
8+
# Manually trigger the workflow.
9+
workflow_dispatch:
1610

1711
jobs:
1812
job_id_1:
@@ -26,7 +20,7 @@ jobs:
2620
- name: Setup Python 3.12
2721
uses: actions/setup-python@v4
2822
with:
29-
python-version: '3.12.0-beta.2'
23+
python-version: '3.12'
3024

3125
- name: Install Dependencies
3226
run: |

‎.github/workflows/main_py37.yml renamed to ‎.github/workflows/main_py313.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
name: PyGAD PyTest / Python 3.7
1+
name: PyGAD PyTest / Python 3.13
22

33
on:
44
push:
55
branches:
66
- github-actions
77
# - master
8+
# Manually trigger the workflow.
9+
workflow_dispatch:
810

911
jobs:
1012
job_id_1:
@@ -15,10 +17,10 @@ jobs:
1517
- name: Checkout Pre-Built Action
1618
uses: actions/checkout@v3
1719

18-
- name: Setup Python 3.7
20+
- name: Setup Python 3.13
1921
uses: actions/setup-python@v4
2022
with:
21-
python-version: '3.7'
23+
python-version: '3.13'
2224

2325
- name: Install Dependencies
2426
run: |

‎.github/workflows/main_py38.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- github-actions
77
# - master
8+
# Manually trigger the workflow.
9+
workflow_dispatch:
810

911
jobs:
1012
job_id_1:

‎.github/workflows/main_py39.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- github-actions
77
# - master
8+
# Manually trigger the workflow.
9+
workflow_dispatch:
810

911
jobs:
1012
job_id_1:

‎pygad/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from .pygad import * # Relative import.
22

3-
__version__ = "3.3.1"
3+
__version__ = "3.5.0"

‎pygad/helper/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
from pygad.helper import unique
2+
from pygad.helper import misc
23

3-
__version__ = "1.1.0"
4+
__version__ = "1.2.0"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /