Skip to content

Commit 4cdde49

Browse files
build: update Python requirement to 3.10+ due to numpy dependency
The minimum Python version requirement has been updated to 3.10+ across the project to align with the numpy 2.2.4 requirement. Authored-by: Mohamed Elashri <mail@elashri.com>
1 parent b60b09d commit 4cdde49

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/workflows/Build_Package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.8","3.9", "3.10", "3.11", "3.12", "3.13"]
16+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1717

1818
steps:
1919
- uses: actions/checkout@v4

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Contributions are welcome! Please feel free to:
120120

121121
## Requirements
122122

123-
- Python 3.8+
123+
- Python 3.10+ (due to numpy requirement)
124124
- NumPy
125125
- Awkward Array (optional, for Awkward array support)
126126

docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
LVec is a Python package designed for High Energy Physics (HEP) analysis, providing a unified interface for handling Lorentz vectors. It bridges the gap between different HEP ecosystems (Scikit-HEP and ROOT) and supports both NumPy and Awkward array backends.
1616

1717
### Dependencies
18-
- Python 3.8+
18+
- Python 3.10+ (due to numpy requirement)
1919
- NumPy (required)
2020
- Awkward Array (optional, for Awkward array support)
2121

pyproject.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "lvec"
33
version = "0.1.3"
44
description = "A package for handling Lorentz vectors with NumPy and Awkward array backends"
55
readme = "README.md"
6-
requires-python = ">=3.8"
6+
requires-python = ">=3.10" # This will be revisited later due to numpy 2.2.4 requirement
77
license = { file = "LICENSE" }
88
authors = [
99
{ name = "Mohamed Elashri", email = "lvec@elashri.com" }
@@ -13,8 +13,6 @@ classifiers = [
1313
"Development Status :: 3 - Alpha",
1414
"Intended Audience :: Science/Research",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.8",
17-
"Programming Language :: Python :: 3.9",
1816
"Programming Language :: Python :: 3.10",
1917
"Programming Language :: Python :: 3.11",
2018
"Programming Language :: Python :: 3.12",

0 commit comments

Comments
 (0)