From 220d6f6e6649e51c1838e7c3ecfac2b37c5c99a8 Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 14:02:06 -0300 Subject: [PATCH 01/12] Update __version__.py Bump package version --- sgs/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgs/__version__.py b/sgs/__version__.py index 58039f5..4eabd0b 100644 --- a/sgs/__version__.py +++ b/sgs/__version__.py @@ -1 +1 @@ -__version__ = "2.1.1" +__version__ = "2.1.2" From a1b6cfacc0934d83827d583a7cc45616ef7536e0 Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:13:07 +0000 Subject: [PATCH 02/12] update image --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dbb6fad..d511152 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,11 +4,11 @@ on: [push, pull_request] jobs: test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 strategy: max-parallel: 4 matrix: - python-version: [3.5, 3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 From e35ddb739b43572e4c1a4f44a5d8c052e594ad66 Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:16:06 +0000 Subject: [PATCH 03/12] drop test support python bellow 3.9 --- .github/workflows/tests.yml | 2 +- sgs/__version__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d511152..2cecd8a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.9, 3.10, 3.11, 3.12, 3.13] steps: - uses: actions/checkout@v2 diff --git a/sgs/__version__.py b/sgs/__version__.py index 4eabd0b..528787c 100644 --- a/sgs/__version__.py +++ b/sgs/__version__.py @@ -1 +1 @@ -__version__ = "2.1.2" +__version__ = "3.0.0" From b90490ad0c2ea587f328a2e2ce2e49e600a06107 Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:16:34 +0000 Subject: [PATCH 04/12] drop test support python bellow 3.9 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1b8d8c9..ffdfd82 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ setup( name='sgs', packages=['sgs'], - python_requires=">=3.5", + python_requires=">=3.6", install_requires=requirements, extras_require={ 'dev': dev_requirements From 79b87871f762a3a1a0d44401c5d4307b465eebf1 Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:26:06 +0000 Subject: [PATCH 05/12] fix classfiers --- setup.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index ffdfd82..82a4adb 100644 --- a/setup.py +++ b/setup.py @@ -47,9 +47,12 @@ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Topic :: Scientific/Engineering :: Information Analysis', ], ) From a43bcdb3dbae77730f93219a16116f60b9f16162 Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:33:00 +0000 Subject: [PATCH 06/12] fix py version on action --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2cecd8a..894350e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.9, 3.10, 3.11, 3.12, 3.13] + python-version: [3.9, 3.10.16, 3.11, 3.12, 3.13] steps: - uses: actions/checkout@v2 From 8237f30bfd167ca314f020e36d5ea26e76b8b43e Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:37:55 +0000 Subject: [PATCH 07/12] bump deps version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 82a4adb..2c67e96 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ "codecov==2.0.15", "mypy==0.910", "pytest==4.6.2", - "pytest-cov==2.7.1", + "pytest-cov>=2.7.1", "pytest-mypy>=0.8.1", "types-requests>=2.25.6" ] From 35737f349c08d3ef3837166fd36b88cb784de498 Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:39:27 +0000 Subject: [PATCH 08/12] bump deps version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2c67e96..1c5c0a5 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ dev_requirements = [ "bandit==1.6.0", - "codecov==2.0.15", + "codecov>=2.0.15", "mypy==0.910", "pytest==4.6.2", "pytest-cov>=2.7.1", From 151a3d8cd08e885c968ab88d6508b6f86eec1cef Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:41:11 +0000 Subject: [PATCH 09/12] bump deps version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1c5c0a5..29ae157 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ "bandit==1.6.0", "codecov>=2.0.15", "mypy==0.910", - "pytest==4.6.2", + "pytest>=4.6.2", "pytest-cov>=2.7.1", "pytest-mypy>=0.8.1", "types-requests>=2.25.6" From ae3694213e1f8647356cb8999e15e07c73162458 Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:44:34 +0000 Subject: [PATCH 10/12] bump deps version --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 29ae157..d1139e2 100644 --- a/setup.py +++ b/setup.py @@ -17,9 +17,9 @@ ] dev_requirements = [ - "bandit==1.6.0", + "bandit>=1.6.0", "codecov>=2.0.15", - "mypy==0.910", + "mypy>=0.910", "pytest>=4.6.2", "pytest-cov>=2.7.1", "pytest-mypy>=0.8.1", From efc03ef947199f736c9a73b5b841b293f5fb5a1e Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 17:47:35 +0000 Subject: [PATCH 11/12] update ubuntu image --- .github/workflows/publish-to-pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index b2afce6..6229262 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -9,7 +9,7 @@ on: jobs: release: name: Create Release - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@master From 0e768781ce520f45dbe369ea7d145b689c8d07db Mon Sep 17 00:00:00 2001 From: Rafael Ribeiro Date: Fri, 21 Mar 2025 23:33:18 +0000 Subject: [PATCH 12/12] corrige versao pacote --- .github/workflows/publish-to-pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index c801d7f..0e10c1d 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -43,7 +43,7 @@ jobs: run: | python setup.py sdist bdist_wheel - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }}