diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97624c1..26deb3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,16 +15,13 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8', '3.11', '3.12'] + python-version: ['3.11', '3.12'] toxenv: [quality, docs, pii_check, django42] - exclude: - - python-version: '3.8' - toxenv: 'docs' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -40,7 +37,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: flags: unittests diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 8b909b6..60e5a18 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -11,11 +11,11 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.11 - name: Install pip run: pip install -r requirements/pip.txt diff --git a/README.rst b/README.rst index fa24213..aeff562 100644 --- a/README.rst +++ b/README.rst @@ -76,7 +76,7 @@ One Time Setup cd event-bus-redis # Set up a virtualenv using virtualenvwrapper with the same name as the repo and activate it - mkvirtualenv -p python3.8 event-bus-redis + mkvirtualenv -p python3.11 event-bus-redis Every time you develop something in this repo diff --git a/docs/conf.py b/docs/conf.py index b8b4149..aad21ce 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -490,7 +490,7 @@ def get_version(*file_paths): # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - 'python': ('https://docs.python.org/3.8', None), + 'python': ('https://docs.python.org/3.11', None), 'django': ('https://docs.djangoproject.com/en/3.2/', 'https://docs.djangoproject.com/en/3.2/_objects/'), 'model_utils': ('https://django-model-utils.readthedocs.io/en/latest/', None), } diff --git a/requirements/dev.txt b/requirements/dev.txt index 2ace6d0..6379e98 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -167,7 +167,7 @@ packaging==24.1 # pyproject-api # pytest # tox -path==16.14.0 +path==17.0.0 # via edx-i18n-tools pbr==6.0.0 # via @@ -242,7 +242,7 @@ pyproject-hooks==1.1.0 # -r requirements/pip-tools.txt # build # pip-tools -pytest==8.3.1 +pytest==8.3.2 # via # -r requirements/quality.txt # pytest-cov diff --git a/requirements/doc.txt b/requirements/doc.txt index e54e0a6..2fc1036 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -194,7 +194,7 @@ pynacl==1.5.0 # edx-django-utils pyproject-hooks==1.1.0 # via build -pytest==8.3.1 +pytest==8.3.2 # via # -r requirements/test.txt # pytest-cov @@ -245,17 +245,17 @@ sphinx==7.4.7 # sphinx-book-theme sphinx-book-theme==1.1.3 # via -r requirements/doc.in -sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-applehelp==2.0.0 # via sphinx -sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-devhelp==2.0.0 # via sphinx -sphinxcontrib-htmlhelp==2.0.6 +sphinxcontrib-htmlhelp==2.1.0 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.8 +sphinxcontrib-qthelp==2.0.0 # via sphinx -sphinxcontrib-serializinghtml==1.1.10 +sphinxcontrib-serializinghtml==2.0.0 # via sphinx sqlparse==0.5.1 # via diff --git a/requirements/pip.txt b/requirements/pip.txt index 854334d..7634792 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -8,7 +8,7 @@ wheel==0.43.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==24.1.2 +pip==24.2 # via -r requirements/pip.in -setuptools==71.1.0 +setuptools==72.0.0 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index 1902d3e..e351a49 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -159,7 +159,7 @@ pynacl==1.5.0 # via # -r requirements/test.txt # edx-django-utils -pytest==8.3.1 +pytest==8.3.2 # via # -r requirements/test.txt # pytest-cov diff --git a/requirements/test.txt b/requirements/test.txt index 6959f88..3f7387a 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -112,7 +112,7 @@ pynacl==1.5.0 # via # -r requirements/base.txt # edx-django-utils -pytest==8.3.1 +pytest==8.3.2 # via # pytest-cov # pytest-django diff --git a/setup.py b/setup.py index 47aab26..77c3dcb 100644 --- a/setup.py +++ b/setup.py @@ -147,7 +147,7 @@ def is_requirement(line): include_package_data=True, install_requires=load_requirements('requirements/base.in'), - python_requires=">=3.8", + python_requires=">=3.11", license="AGPL 3.0", zip_safe=False, keywords='Python edx', @@ -159,7 +159,6 @@ def is_requirement(line): 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', 'Natural Language :: English', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', ], diff --git a/tox.ini b/tox.ini index a3d84bf..7de5882 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,311,312}-django{42}, docs, quality +envlist = py{311,312}-django{42}, docs, quality [pycodestyle] exclude = .git,.tox,migrations