From eb665a67cb79e53c02ec2bbf4970924c0d25f642 Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Fri, 23 Aug 2024 16:09:48 +0500 Subject: [PATCH] feat!: drop support for python 3.8 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pypi-publish.yml | 4 ++-- .gitignore | 1 + auth_backends/__init__.py | 2 +- requirements/dev.txt | 2 +- requirements/pip.txt | 2 +- requirements/test.txt | 2 +- setup.py | 1 - 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64092b51..3df92e69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8', '3.11', '3.12'] + python-version: ['3.11', '3.12'] toxenv: [quality, django42, check_keywords] steps: @@ -36,7 +36,7 @@ jobs: run: tox - name: Run Coverage - if: matrix.python-version == '3.8' && matrix.toxenv=='django42' + if: matrix.python-version == '3.11' && matrix.toxenv=='django42' uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 6e6ddb52..88a977ec 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -16,7 +16,7 @@ jobs: - name: setup python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 - name: Install pip run: pip install -r requirements/pip.txt @@ -28,7 +28,7 @@ jobs: run: python setup.py sdist bdist_wheel - name: Publish to PyPi - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_UPLOAD_TOKEN }} diff --git a/.gitignore b/.gitignore index ce808d24..e65cc9f1 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ target/ # JetBrains/PyCharm .idea/ +venv diff --git a/auth_backends/__init__.py b/auth_backends/__init__.py index d6fe7f9a..89e61791 100644 --- a/auth_backends/__init__.py +++ b/auth_backends/__init__.py @@ -3,4 +3,4 @@ These package is designed to be used primarily with Open edX Django projects, but should be compatible with non-edX projects as well. """ -__version__ = '4.3.0' # pragma: no cover +__version__ = '4.4.0' # pragma: no cover diff --git a/requirements/dev.txt b/requirements/dev.txt index bc899ee5..a5018ade 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -240,7 +240,7 @@ sqlparse==0.5.1 # via # -r requirements/test.txt # django -stevedore==5.2.0 +stevedore==5.3.0 # via # -r requirements/test.txt # code-annotations diff --git a/requirements/pip.txt b/requirements/pip.txt index 5f8b9c04..f0fca188 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -10,5 +10,5 @@ wheel==0.44.0 # The following packages are considered to be unsafe in a requirements file: pip==24.2 # via -r requirements/pip.in -setuptools==72.2.0 +setuptools==73.0.1 # via -r requirements/pip.in diff --git a/requirements/test.txt b/requirements/test.txt index 7db79cd0..fdee4b9e 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -175,7 +175,7 @@ sqlparse==0.5.1 # via # -r requirements/base.txt # django -stevedore==5.2.0 +stevedore==5.3.0 # via code-annotations text-unidecode==1.3 # via python-slugify diff --git a/setup.py b/setup.py index e5fd3630..99c07087 100644 --- a/setup.py +++ b/setup.py @@ -105,7 +105,6 @@ def get_version(*file_paths): 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Framework :: Django',