Skip to content

Commit c37ea02

Browse files
committed
BLD: Fix build requirements
1 parent 8489d06 commit c37ea02

File tree

7 files changed

+16
-10
lines changed

7 files changed

+16
-10
lines changed

ci/azure/azure_template_posix.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,8 @@ jobs:
153153
testRunTitle: 'Python $(python.version)'
154154
condition: succeededOrFailed()
155155

156-
- task: PublishCodeCoverageResults@1
156+
- task: PublishCodeCoverageResults@2
157157
inputs:
158-
codeCoverageTool: Cobertura
159158
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml'
160159
condition: and(eq(variables['coverage'], 'true'), ne(variables['test.install'], 'true'))
161160

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ requires = [
33
"packaging>=21.0",
44
"setuptools",
55
"wheel",
6-
"Cython>=0.29.33,<4",
7-
"oldest-supported-numpy",
8-
"numpy; python_version>='3.13'",
6+
"Cython>=3.0.10,<4",
7+
"numpy>=2.0.0rc1,<3",
98
"setuptools_scm[toml]>=8.0.0,<9.0.0",
109
]
1110
build-backend = "setuptools.build_meta"

randomgen/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import os
24
import sys
35

randomgen/_pickle.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import warnings
24

35
from randomgen.aes import AESCounter

randomgen/tests/test_direct.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from functools import partial
24
import os
35
from os.path import join

requirements-dev.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
black[jupyter]~=24.8.0
2-
isort~=5.0
1+
# Build
2+
cython>=3.0.10
3+
# Testing
34
pytest>=7
45
pytest-cov
56
pytest-xdist
67
scipy>=1.13.1
8+
# Lint
9+
black[jupyter]~=24.8.0
10+
isort~=5.0
711
setuptools_scm[toml]>=8.0.0,<9.0.0
8-
packaging>=21.0
912
ruff
1013
flake8
1114
flake8-pyi

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
numpy>=1.22.1
2-
cython>=3.0.11
1+
numpy>=1.22.3
32
setuptools
43
wheel

0 commit comments

Comments
 (0)