Skip to content

Commit

Permalink
Merge pull request #66 from vnmabus/feature/min_python_3.10
Browse files Browse the repository at this point in the history
Increase minimum supported Python version to 3.10.
  • Loading branch information
vnmabus authored Aug 31, 2024
2 parents 680be72 + 34354b5 commit d53c4b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9']
python-version: ['3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "dcor"
description = "dcor: distance correlation and energy statistics in Python."
readme = "README.rst"
requires-python = ">=3.8"
requires-python = ">=3.10"
license = {file = "LICENSE"}
keywords = [
"distance correlation",
Expand All @@ -27,7 +27,9 @@ classifiers = [
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules",
]
Expand Down Expand Up @@ -57,6 +59,7 @@ docs = [
]
test = [
"array-api-strict",
"numpy<2", # NumPy 2 changes array repr, affecting doctests.
"pytest",
"pytest-cov",
"pytest-subtests",
Expand Down
2 changes: 1 addition & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.10"
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down

0 comments on commit d53c4b9

Please sign in to comment.