From bf951fd19633d758f3f9a02134cd2db56b63d076 Mon Sep 17 00:00:00 2001 From: Dmytro Fedoriaka Date: Fri, 11 Sep 2026 08:42:25 -0700 Subject: [PATCH 1/7] upgrade versions --- .github/workflows/ci.yml | 6 ++---- pyproject.toml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16f0ea9..a4ac999 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,11 +23,9 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.14' architecture: 'x64' - name: Install requirements - run: | - pip install numpy~=1.26 numba~=0.60 scipy~=1.14 - pip install pytest~=8.3 + run: pip install . - name: Run tests run: pytest . diff --git a/pyproject.toml b/pyproject.toml index e34796e..e499bc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,24 @@ +[build-system] +build-backend = "setuptools.build_meta" +requires = ["setuptools"] + +[project] +# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ +name = "fedimser-math" +version = "0.1.0" +description = "Mathematical projects" +readme = "README.md" +requires-python = ">=3.14" +license = "MIT" +authors = [{ name = "Dima Fedoriaka" }] + +# https://peps.python.org/pep-0508/ +dependencies = [ + "numba>=0.67", + "numpy>=2.5", + "pytest>=8.4.0", + "scipy>=1.18", +] + [tool.black] line-length = 120 \ No newline at end of file From f57e1a1ea88e14befacddb9e92cbd170ed446ea6 Mon Sep 17 00:00:00 2001 From: Dmytro Fedoriaka Date: Fri, 11 Sep 2026 08:47:50 -0700 Subject: [PATCH 2/7] python3.15 --- .github/workflows/ci.yml | 5 ++++- fedimser_math.egg-info/PKG-INFO | 18 ++++++++++++++++++ fedimser_math.egg-info/SOURCES.txt | 15 +++++++++++++++ fedimser_math.egg-info/dependency_links.txt | 1 + fedimser_math.egg-info/requires.txt | 4 ++++ fedimser_math.egg-info/top_level.txt | 3 +++ pyproject.toml | 4 ++++ 7 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 fedimser_math.egg-info/PKG-INFO create mode 100644 fedimser_math.egg-info/SOURCES.txt create mode 100644 fedimser_math.egg-info/dependency_links.txt create mode 100644 fedimser_math.egg-info/requires.txt create mode 100644 fedimser_math.egg-info/top_level.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4ac999..a781f76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,13 +17,16 @@ jobs: - name: Run black run: black --check --diff . tests-ubuntu: + strategy: + matrix: + python-version: [ "3.12", "3.13", "3.14" ] name: Tests (Ubuntu) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.14' + python-version: ${{ matrix.python-version }} architecture: 'x64' - name: Install requirements run: pip install . diff --git a/fedimser_math.egg-info/PKG-INFO b/fedimser_math.egg-info/PKG-INFO new file mode 100644 index 0000000..d858cf2 --- /dev/null +++ b/fedimser_math.egg-info/PKG-INFO @@ -0,0 +1,18 @@ +Metadata-Version: 2.4 +Name: fedimser-math +Version: 0.1.0 +Summary: Mathematical projects +Author: Dima Fedoriaka +License-Expression: MIT +Requires-Python: >=3.14 +Description-Content-Type: text/markdown +License-File: LICENSE +Requires-Dist: numba>=0.67 +Requires-Dist: numpy>=2.5 +Requires-Dist: pytest>=8.4.0 +Requires-Dist: scipy>=1.18 +Dynamic: license-file + +# Mathematical projects + +This repository contains various mathematical projects. diff --git a/fedimser_math.egg-info/SOURCES.txt b/fedimser_math.egg-info/SOURCES.txt new file mode 100644 index 0000000..24f4b2e --- /dev/null +++ b/fedimser_math.egg-info/SOURCES.txt @@ -0,0 +1,15 @@ +LICENSE +README.md +pyproject.toml +fedimser_math.egg-info/PKG-INFO +fedimser_math.egg-info/SOURCES.txt +fedimser_math.egg-info/dependency_links.txt +fedimser_math.egg-info/requires.txt +fedimser_math.egg-info/top_level.txt +numopt/cg_hager_zhang.py +numopt/test_cases.py +remez/remez.py +remez/remez_test.py +rubiks-snake/rubiks_snake.py +rubiks-snake/rubiks_snake_slow.py +rubiks-snake/rubiks_snake_test.py \ No newline at end of file diff --git a/fedimser_math.egg-info/dependency_links.txt b/fedimser_math.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/fedimser_math.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/fedimser_math.egg-info/requires.txt b/fedimser_math.egg-info/requires.txt new file mode 100644 index 0000000..dae60e1 --- /dev/null +++ b/fedimser_math.egg-info/requires.txt @@ -0,0 +1,4 @@ +numba>=0.67 +numpy>=2.5 +pytest>=8.4.0 +scipy>=1.18 diff --git a/fedimser_math.egg-info/top_level.txt b/fedimser_math.egg-info/top_level.txt new file mode 100644 index 0000000..a5cc8be --- /dev/null +++ b/fedimser_math.egg-info/top_level.txt @@ -0,0 +1,3 @@ +numopt +remez +rubiks-snake diff --git a/pyproject.toml b/pyproject.toml index e499bc2..0776a10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,5 +20,9 @@ dependencies = [ "scipy>=1.18", ] +[tool.setuptools.packages.find] +where = ["."] +include = ["numopt*", "remez*", "rubiks-snake*"] + [tool.black] line-length = 120 \ No newline at end of file From aff9e99811d37e77e75e115639b208bc19e2fa88 Mon Sep 17 00:00:00 2001 From: Dmytro Fedoriaka Date: Fri, 11 Sep 2026 08:48:11 -0700 Subject: [PATCH 3/7] rem --- fedimser_math.egg-info/PKG-INFO | 18 ------------------ fedimser_math.egg-info/SOURCES.txt | 15 --------------- fedimser_math.egg-info/dependency_links.txt | 1 - fedimser_math.egg-info/requires.txt | 4 ---- fedimser_math.egg-info/top_level.txt | 3 --- 5 files changed, 41 deletions(-) delete mode 100644 fedimser_math.egg-info/PKG-INFO delete mode 100644 fedimser_math.egg-info/SOURCES.txt delete mode 100644 fedimser_math.egg-info/dependency_links.txt delete mode 100644 fedimser_math.egg-info/requires.txt delete mode 100644 fedimser_math.egg-info/top_level.txt diff --git a/fedimser_math.egg-info/PKG-INFO b/fedimser_math.egg-info/PKG-INFO deleted file mode 100644 index d858cf2..0000000 --- a/fedimser_math.egg-info/PKG-INFO +++ /dev/null @@ -1,18 +0,0 @@ -Metadata-Version: 2.4 -Name: fedimser-math -Version: 0.1.0 -Summary: Mathematical projects -Author: Dima Fedoriaka -License-Expression: MIT -Requires-Python: >=3.14 -Description-Content-Type: text/markdown -License-File: LICENSE -Requires-Dist: numba>=0.67 -Requires-Dist: numpy>=2.5 -Requires-Dist: pytest>=8.4.0 -Requires-Dist: scipy>=1.18 -Dynamic: license-file - -# Mathematical projects - -This repository contains various mathematical projects. diff --git a/fedimser_math.egg-info/SOURCES.txt b/fedimser_math.egg-info/SOURCES.txt deleted file mode 100644 index 24f4b2e..0000000 --- a/fedimser_math.egg-info/SOURCES.txt +++ /dev/null @@ -1,15 +0,0 @@ -LICENSE -README.md -pyproject.toml -fedimser_math.egg-info/PKG-INFO -fedimser_math.egg-info/SOURCES.txt -fedimser_math.egg-info/dependency_links.txt -fedimser_math.egg-info/requires.txt -fedimser_math.egg-info/top_level.txt -numopt/cg_hager_zhang.py -numopt/test_cases.py -remez/remez.py -remez/remez_test.py -rubiks-snake/rubiks_snake.py -rubiks-snake/rubiks_snake_slow.py -rubiks-snake/rubiks_snake_test.py \ No newline at end of file diff --git a/fedimser_math.egg-info/dependency_links.txt b/fedimser_math.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/fedimser_math.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/fedimser_math.egg-info/requires.txt b/fedimser_math.egg-info/requires.txt deleted file mode 100644 index dae60e1..0000000 --- a/fedimser_math.egg-info/requires.txt +++ /dev/null @@ -1,4 +0,0 @@ -numba>=0.67 -numpy>=2.5 -pytest>=8.4.0 -scipy>=1.18 diff --git a/fedimser_math.egg-info/top_level.txt b/fedimser_math.egg-info/top_level.txt deleted file mode 100644 index a5cc8be..0000000 --- a/fedimser_math.egg-info/top_level.txt +++ /dev/null @@ -1,3 +0,0 @@ -numopt -remez -rubiks-snake From fecd18ea969747a9dfb6a04698951f5717013693 Mon Sep 17 00:00:00 2001 From: Dmytro Fedoriaka Date: Fri, 11 Sep 2026 08:48:45 -0700 Subject: [PATCH 4/7] ignore egg_infog --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 518fcba..ea3a53d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .idea/ __pycache__ *.tmp/ +*.egg_info \ No newline at end of file From e15cea6639440e5b46095ef7faa96ed22ae40335 Mon Sep 17 00:00:00 2001 From: Dmytro Fedoriaka Date: Fri, 11 Sep 2026 08:49:26 -0700 Subject: [PATCH 5/7] python versions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a781f76..ec0306f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: tests-ubuntu: strategy: matrix: - python-version: [ "3.12", "3.13", "3.14" ] + python-version: [ "3.14", "3.15" ] name: Tests (Ubuntu) runs-on: ubuntu-latest steps: From 6748db398e3e137da01dd83b41ae2c555241af45 Mon Sep 17 00:00:00 2001 From: Dmytro Fedoriaka Date: Fri, 11 Sep 2026 08:50:27 -0700 Subject: [PATCH 6/7] python 3.13-3.14 --- .github/workflows/ci.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec0306f..a7e9c4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: tests-ubuntu: strategy: matrix: - python-version: [ "3.14", "3.15" ] + python-version: [ "3.13", "3.14" ] name: Tests (Ubuntu) runs-on: ubuntu-latest steps: diff --git a/pyproject.toml b/pyproject.toml index 0776a10..b7bf602 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ name = "fedimser-math" version = "0.1.0" description = "Mathematical projects" readme = "README.md" -requires-python = ">=3.14" +requires-python = ">=3.13" license = "MIT" authors = [{ name = "Dima Fedoriaka" }] From 69f0fa9b0943707c809ff97bd583b66727e43494 Mon Sep 17 00:00:00 2001 From: Dmytro Fedoriaka Date: Fri, 11 Sep 2026 08:51:43 -0700 Subject: [PATCH 7/7] newlines --- .gitignore | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ea3a53d..352dd3a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ .idea/ __pycache__ *.tmp/ -*.egg_info \ No newline at end of file +*.egg_info diff --git a/pyproject.toml b/pyproject.toml index b7bf602..ca470e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,4 +25,4 @@ where = ["."] include = ["numopt*", "remez*", "rubiks-snake*"] [tool.black] -line-length = 120 \ No newline at end of file +line-length = 120