From 7a5a92427620b5899d9c899989555ae5b73dc351 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Wed, 14 Oct 2026 20:04:52 +0330 Subject: [PATCH 1/6] feat : add pyproject.toml --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..8f40f55 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools>=61.0.0", "wheel>=0.37.0"] +build-backend = "setuptools.build_meta" From d10c12ede18c96de27e14582925659d7debd6b88 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Wed, 14 Oct 2026 20:06:14 +0330 Subject: [PATCH 2/6] fix : update publish_pypi.yml --- .github/workflows/publish_pypi.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 8d8f17d..e936151 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -23,12 +23,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + pip install build twine - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - python setup.py sdist bdist_wheel - twine upload dist/*.tar.gz - twine upload dist/*.whl \ No newline at end of file + python -m build + twine upload dist/* From ec348b41b680e249c84384bcf410664074086497 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Wed, 14 Oct 2026 20:06:43 +0330 Subject: [PATCH 3/6] fix : update requirements-dev.txt --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 302d85b..9712987 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -setuptools>=40.8.0 +setuptools>=61.0.0 vulture>=1.0 bandit>=1.5.1 pydocstyle>=6.3.0 From b676cdf839f16815a0f5e8601c5925ff3cec261f Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Wed, 14 Oct 2026 20:07:09 +0330 Subject: [PATCH 4/6] fix : remove license classifier --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 7bbd32e..ce64637 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,6 @@ def read_description() -> str: classifiers=[ 'Development Status :: 4 - Beta', 'Natural Language :: English', - 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', From 91b11720c6711dd4e8cab6b9aafa7a54e47f3fb3 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Wed, 14 Oct 2026 20:07:40 +0330 Subject: [PATCH 5/6] doc : update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2f7823..3483902 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] ### Changed - `Python 3.15` added to `test.yml` +- Build system modified ## [1.4] - 2026-10-05 ### Added - Z.AI models From 9bc94ece1588d47275a4eda829422ba0b708147a Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Fri, 16 Oct 2026 02:30:57 +0330 Subject: [PATCH 6/6] fix : update dependabot.yml --- .github/dependabot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 87a486f..67a008c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,6 +6,7 @@ updates: - "requirements-dev.txt" - "setup.py" - "examples/requirements.txt" + - "pyproject.toml" schedule: interval: weekly time: "01:30"