From 7761596ed1eb70215e80fd911450789e1f710f59 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sun, 7 Jun 2026 17:02:40 +0330 Subject: [PATCH 1/6] fix : remove requirements.txt --- requirements.txt | 0 setup.py | 9 +-------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index e69de29..0000000 diff --git a/setup.py b/setup.py index 0e1f436..4c854fa 100644 --- a/setup.py +++ b/setup.py @@ -5,13 +5,6 @@ except ImportError: from distutils.core import setup - -def get_requires() -> list: - """Read requirements.txt.""" - requirements = open("requirements.txt", "r").read() - return list(filter(lambda x: x != "", requirements.split())) - - def read_description() -> str: """Read README.md and CHANGELOG.md.""" try: @@ -46,7 +39,7 @@ def read_description() -> str: project_urls={ 'Source': 'https://github.com/openscilab/xnum', }, - install_requires=get_requires(), + install_requires=[], python_requires='>=3.7', classifiers=[ 'Development Status :: 5 - Production/Stable', From 5f0b949bf1bb16525dac03a99ba5f9125943b3c5 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sun, 7 Jun 2026 17:03:17 +0330 Subject: [PATCH 2/6] fix : rename dev-requirements.txt to requirements-dev.txt --- dev-requirements.txt => requirements-dev.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename dev-requirements.txt => requirements-dev.txt (100%) diff --git a/dev-requirements.txt b/requirements-dev.txt similarity index 100% rename from dev-requirements.txt rename to requirements-dev.txt From bdaa29cfd27039f42f0ef561c36393bd01021f12 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sun, 7 Jun 2026 17:04:20 +0330 Subject: [PATCH 3/6] fix : update dependabot.yml --- .github/dependabot.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 79967b7..0a1415c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,10 +2,13 @@ version: 2 updates: - package-ecosystem: pip directory: "/" + exclude-paths: + - "requirements-dev.txt" + - "setup.py" schedule: interval: weekly time: "01:30" - open-pull-requests-limit: 10 + open-pull-requests-limit: 5 target-branch: dev assignees: - "sepandhaghighi" From 93d53ca276d61b1753556836aa01655559d29cc3 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sun, 7 Jun 2026 17:05:24 +0330 Subject: [PATCH 4/6] fix : update test.yml --- .github/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f940d10..3c97dce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,10 +36,9 @@ jobs: run: | python -m pip install --upgrade pip pip install . - - name: Test requirements installation + - name: Dev requirements installation run: | - python otherfiles/requirements-splitter.py - pip install --upgrade --upgrade-strategy=only-if-needed -r test-requirements.txt + pip install --upgrade --upgrade-strategy=only-if-needed -r requirements-dev.txt - name: Conflict check run: | python otherfiles/conflict_check.py From 257855948ed346884a25dcae69c08d11fda0b381 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sun, 7 Jun 2026 17:05:47 +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 2e50705..e1636cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - `README.md` updated - Test system modified +- Dependencies structure modified ## [1.5] - 2026-04-10 ### Added - Garay numeral system From 998575270fbffaa49c27b6a67fbf3b923d8fc5f7 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sun, 7 Jun 2026 19:22:19 +0330 Subject: [PATCH 6/6] fix : update setup.py --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 4c854fa..25b6a86 100644 --- a/setup.py +++ b/setup.py @@ -25,8 +25,7 @@ def read_description() -> str: setup( name='xnum', - packages=[ - 'xnum', ], + packages=['xnum'], version='1.5', description='XNum: Universal Numeral System Converter', long_description=read_description(), @@ -35,7 +34,7 @@ def read_description() -> str: author_email='xnum@openscilab.com', url='https://github.com/openscilab/xnum', download_url='https://github.com/openscilab/xnum/tarball/v1.5', - keywords="convert numeral number numeral-system digits", + keywords='convert numeral number numeral-system digits', project_urls={ 'Source': 'https://github.com/openscilab/xnum', },