Skip to content

Commit 441b788

Browse files
authored
Drop python 3.9 and loosen requirement of numpy (#962)
* Drop python 3.9 and loosen requirement of `numpy` * Remove unnecessary comment
1 parent 1673f86 commit 441b788

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

.github/workflows/pypi_install.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup python
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: '3.9'
17+
python-version: "3.10"
1818
- name: Checkout repo
1919
uses: actions/checkout@v4
2020
- name: Install dependencies
@@ -23,8 +23,6 @@ jobs:
2323
run: python -m build
2424
# Do the publish
2525
- name: Publish a Python distribution to PyPI
26-
# Might want to add but does not work on workflow_dispatch :
27-
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
2826
uses: pypa/gh-action-pypi-publish@master
2927
with:
3028
user: ${{ secrets.pipy_token }}

.github/workflows/pytest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
python-version: [3.9, "3.10"]
25-
test: ['coveralls', 'pytest']
24+
python-version: ["3.10", "3.11"]
25+
test: ["coveralls", "pytest"]
2626
# Installation on py3.10 is rather slow at the moment
2727
exclude:
2828
- python-version: "3.11"

.github/workflows/test_install.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: [3.9, "3.10"]
23+
python-version: ["3.10", "3.11"]
2424
steps:
2525
- name: Setup python
2626
uses: actions/setup-python@v5

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build:
1111
apt_packages:
1212
- graphviz
1313
tools:
14-
python: "3.9"
14+
python: "3.10"
1515

1616
python:
1717
install:

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296

297297

298298
# Example configuration for intersphinx: refer to the Python standard library.
299-
intersphinx_mapping = {"https://docs.python.org/": None}
299+
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
300300

301301

302302
def write_contributing():

pyproject.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ classifiers = [
1111
"Development Status :: 5 - Production/Stable",
1212
"License :: OSI Approved :: BSD License",
1313
"Natural Language :: English",
14-
"Programming Language :: Python :: 3.9",
1514
"Programming Language :: Python :: 3.10",
15+
"Programming Language :: Python :: 3.11",
16+
"Programming Language :: Python :: 3.12",
1617
"Intended Audience :: Science/Research",
1718
"Programming Language :: Python :: Implementation :: CPython",
1819
"Topic :: Scientific/Engineering :: Physics",
@@ -23,7 +24,7 @@ repository = "https://github.com/AxFoundation/strax"
2324
rechunker = "strax.scripts.rechunker:main"
2425

2526
[tool.poetry.dependencies]
26-
python = ">=3.6,<3.13"
27+
python = ">=3.10,<3.13"
2728
blosc = "*"
2829
click = "*"
2930
deepdiff = "*"
@@ -33,7 +34,7 @@ immutabledict = "*"
3334
lz4 = "*"
3435
numba = ">=0.43.1"
3536
numexpr = "*"
36-
numpy = ">=1.18.5,<2.0.0"
37+
numpy = ">=1.18.5"
3738
packaging = "*"
3839
pandas = "*"
3940
psutil = "*"

0 commit comments

Comments
 (0)