Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
Expand Down Expand Up @@ -78,7 +77,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.10"
python-version: "3.11"

- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
args: []
additional_dependencies:
# numpy>=2.5 requires Python>=3.12 and its stubs use PEP 695 syntax,
# which mypy cannot parse while python_version is pinned to 3.10
# which mypy cannot parse while python_version is pinned to 3.11
- numpy<2.5
- packaging
- sympy
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from __future__ import annotations

import importlib.metadata
from datetime import datetime, timezone
from datetime import UTC, datetime

# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
Expand All @@ -22,7 +22,7 @@
# -- Project information -----------------------------------------------------

project = "Vector"
copyright = f"2019\u2012{datetime.now(tz=timezone.utc).year}"
copyright = f"2019\u2012{datetime.now(tz=UTC).year}"
author = (
"Saransh Chopra, Henry Schreiner, Jim Pivarski, Eduardo Rodrigues, and Jonas Eschle"
)
Expand Down
11 changes: 4 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ maintainers = [
authors = [
{ name = "Saransh Chopra, Jim Pivarski, Henry Schreiner, Eduardo Rodrigues, Jonas Eschle", email = "eduardo.rodrigues@cern.ch" },
]
requires-python = ">=3.10"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down Expand Up @@ -136,8 +135,6 @@ ignore = [
"PLR09", # Too many X
"PLR2004", # Magic values
"N999", # Module names follow ROOT's spelling (Et, deltaR, rotateZ, ...)
"PYI019", # returning Self needs typing_extensions on Python 3.10
"PYI034", # __new__ returning Self needs typing_extensions on Python 3.10
"TRY004", # AssertionError marks unreachable branches, not bad user types
]
typing-modules = [
Expand Down Expand Up @@ -185,7 +182,7 @@ isort.required-imports = [
]

[tool.pylint]
master.py-version = "3.10"
master.py-version = "3.11"
reports.output-format = "colorized"
similarities.ignore-imports = "yes"
master.jobs = "0"
Expand Down Expand Up @@ -274,7 +271,7 @@ filterwarnings = [
files = [
"src/vector",
]
python_version = "3.10"
python_version = "3.11"
strict = true
warn_return_any = false
enable_error_code = [
Expand Down Expand Up @@ -311,7 +308,7 @@ platforms = ["linux-64", "osx-arm64", "osx-64"]
exclude-newer = "7d"

[tool.pixi.feature.root.dependencies]
python = ">=3.10"
python = ">=3.11"
root = ">=6.18.04"
numba = ">=0.57"
numpy = ">=1.19.3"
Expand Down
Loading
Loading