From b88b92db1ccfcde6080c3c13d6f7463b6056671d Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sat, 11 Jul 2026 00:58:43 +0330 Subject: [PATCH 1/3] fix : update test.yml --- .github/workflows/test.yml | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c0c1ac..05fee8e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,21 +41,13 @@ jobs: run: | python -m pip install --upgrade pip pip install . - - name: Run1 + - name: Smoke test run: | + python -c "from ipspot import *" + python -m ipspot --version + python -m ipspot --info ipspot --version - - name: Run2 - run: | ipspot --info - - name: Run3 - run: | - ipspot - - name: Run4 - run: | - ipspot --no-geo --max-retries=5 --retry-delay=3 - - name: Run5 - run: | - ipspot --timeout=15 - name: Install dev-requirements run: | pip install --upgrade --upgrade-strategy=only-if-needed -r requirements-dev.txt @@ -80,6 +72,24 @@ jobs: run: | python otherfiles/version_check.py if: matrix.python-version == env.TEST_PYTHON_VERSION + - name: Build package + run: | + python -m build + - name: Check package metadata + run: | + twine check dist/* + - name: Wheel smoke test + shell: bash + run: | + pip uninstall -y ipspot + pip install dist/*.whl + mkdir wheel_test + cd wheel_test + python -c "from ipspot import *" + python -m ipspot --version + python -m ipspot --info + ipspot --version + ipspot --info - name: Other tests run: | python -m vulture ipspot/ setup.py --min-confidence 65 --exclude=__init__.py --sort-by-size From a7b013b5be1ab68970883162182202eac2e21e89 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sat, 11 Jul 2026 00:59:12 +0330 Subject: [PATCH 2/3] fix : add build/twine to requirements-dev.txt --- requirements-dev.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index 0b02ecd..cbb8e78 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,3 +4,5 @@ bandit>=1.5.1 pydocstyle>=6.3.0 pytest>=4.3.1 pytest-cov>=2.6.1 +build>=1.1.1 +twine>=4.0.2 From dee58670fb27132e921cb3f164c2e2d9e2398b58 Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sat, 11 Jul 2026 00:59:38 +0330 Subject: [PATCH 3/3] doc : update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9cd9a7..0819f3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - CLI messages updated - CLI modified - Dependencies structure modified +- Test system modified ## [0.8] - 2026-02-05 ### Added - Support [wtfismyip.com](https://wtfismyip.com/json) IPv6 API