Skip to content

Commit

Permalink
drop support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperVanDenBosch committed Sep 16, 2023
1 parent ddd7f67 commit 4736e18
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# -- Project information -----------------------------------------------------

project = 'rsatoolbox'
copyright = '2021, rsatoolbox authors'
copyright = '2023, rsatoolbox authors'
author = 'rsatoolbox authors'

# The full version
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "rsatoolbox"
description = "Representational Similarity Analysis (RSA) in Python"
requires-python = ">=3.7,<3.12"
requires-python = ">=3.8,<3.12"
authors = [
{name="rsatoolbox authors"},
]
Expand All @@ -26,7 +26,6 @@ classifiers = [
'Development Status :: 4 - Beta',
'Topic :: Scientific/Engineering',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@ matplotlib
h5py
tqdm
joblib
importlib-metadata>=6.0.0; python_version < "3.8"
typing-extensions; python_version < "3.8"
5 changes: 1 addition & 4 deletions tests/test_io_hdf5.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
from unittest import TestCase
from unittest.mock import patch
try: # drop:py37 (backport)
from importlib.metadata import version
except ModuleNotFoundError:
from importlib_metadata import version
from importlib.metadata import version


class Hdf5IOTests(TestCase):
Expand Down
5 changes: 1 addition & 4 deletions tests/test_io_pkl.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
from unittest import TestCase
from unittest.mock import patch, sentinel
try: # drop:py37 (backport)
from importlib.metadata import version
except ModuleNotFoundError:
from importlib_metadata import version
from importlib.metadata import version


class PickleIOTests(TestCase):
Expand Down

0 comments on commit 4736e18

Please sign in to comment.