Skip to content

Commit

Permalink
feat: drop Python 3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejnovak committed Aug 16, 2023
1 parent 70c79f5 commit 9fc51d7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
strategy:
matrix:
runs-on: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.10", "3.11"]
python-version: ["3.8", "3.10", "3.11"]
include:
- runs-on: macOS-latest
python-version: "3.7"
python-version: "3.8"
- runs-on: macOS-latest
python-version: "3.11"

Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ repos:
rev: v3.10.1
hooks:
- id: pyupgrade
args: ["--py37-plus"]
args: ["--py38-plus"]

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
hooks:
- id: nbqa-pyupgrade
additional_dependencies: [pyupgrade==2.31.0]
args: ["--py37-plus"]
args: ["--py38-plus"]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.3.0
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sphinx:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
version: 3.8
install:
- requirements: docs/requirements.txt
- method: pip
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ write_to = "src/mplhep/_version.py"
pyupgrade = 1

[tool.nbqa.addopts]
pyupgrade = ["--py37-plus"]
pyupgrade = ["--py38-plus"]


[tools.mypy]
files = ["src"]
python_version = 3.7
python_version = 3.8
warn_unused_configs = true

allow_redefinition = true
Expand Down

0 comments on commit 9fc51d7

Please sign in to comment.