Skip to content

Introduce the gene_constraint parameter #326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Jul 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main_py310.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- github-actions
# - master
# Manually trigger the workflow.
workflow_dispatch:

jobs:
job_id_1:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main_py311.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- github-actions
# - master
# Manually trigger the workflow.
workflow_dispatch:

jobs:
job_id_1:
Expand Down
20 changes: 7 additions & 13 deletions .github/workflows/main_py312.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
name: PyGAD PyTest / Python 3.12

# Cannot install packages in Python 3.12.
# The reason is that we use pip for installing packages.
# pip uses setuptools for the installation.
# setuptools depends on distutils.
# But Python 3.12 does not support distutils.
# Let's wait until setuptools changes its dependencies.

# on:
# push:
# branches:
# - github-actions
on:
push:
branches:
- github-actions
# - master
on: workflow_dispatch
# Manually trigger the workflow.
workflow_dispatch:

jobs:
job_id_1:
Expand All @@ -26,7 +20,7 @@ jobs:
- name: Setup Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12.0-beta.2'
python-version: '3.12'

- name: Install Dependencies
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: PyGAD PyTest / Python 3.7
name: PyGAD PyTest / Python 3.13

on:
push:
branches:
- github-actions
# - master
# Manually trigger the workflow.
workflow_dispatch:

jobs:
job_id_1:
Expand All @@ -15,10 +17,10 @@ jobs:
- name: Checkout Pre-Built Action
uses: actions/checkout@v3

- name: Setup Python 3.7
- name: Setup Python 3.13
uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.13'

- name: Install Dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main_py38.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- github-actions
# - master
# Manually trigger the workflow.
workflow_dispatch:

jobs:
job_id_1:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main_py39.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- github-actions
# - master
# Manually trigger the workflow.
workflow_dispatch:

jobs:
job_id_1:
Expand Down
2 changes: 1 addition & 1 deletion pygad/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .pygad import * # Relative import.

__version__ = "3.3.1"
__version__ = "3.5.0"
3 changes: 2 additions & 1 deletion pygad/helper/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from pygad.helper import unique
from pygad.helper import misc

__version__ = "1.1.0"
__version__ = "1.2.0"
Loading