Skip to content

Commit 0028a9a

Browse files
committed
Merge branch '63-update-versions'
2 parents 3329914 + 0f02665 commit 0028a9a

11 files changed

Lines changed: 1088 additions & 507 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,9 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: [ubuntu-latest, windows-latest, macos-13]
12-
python-ver: [3.9, "3.11"]
11+
os: [ubuntu-latest, windows-latest, macos-latest]
12+
python-ver: [3.9, '3.10', 3.11, 3.12, 3.13]
1313
experimental: [false]
14-
include:
15-
- python-ver: "3.10"
16-
os: ubuntu-latest
17-
experimental: false
18-
- python-ver: "3.10"
19-
os: macos-13
20-
experimental: true
21-
- python-ver: "3.10"
22-
os: windows-latest
23-
experimental: false
24-
- python-ver: 3.12
25-
os: ubuntu-latest
26-
experimental: true
27-
- python-ver: 3.12
28-
os: macos-latest
29-
experimental: true
30-
- python-ver: 3.12
31-
os: windows-latest
32-
experimental: true
33-
- python-ver: 3.13
34-
os: ubuntu-latest
35-
experimental: true
36-
- python-ver: 3.13
37-
os: macos-latest
38-
experimental: true
39-
- python-ver: 3.13
40-
os: windows-latest
41-
experimental: true
42-
4314
runs-on: ${{ matrix.os }}
4415
continue-on-error: ${{ matrix.experimental }}
4516
timeout-minutes: 10
@@ -123,7 +94,7 @@ jobs:
12394
- name: Set up Python
12495
uses: actions/setup-python@v4
12596
with:
126-
python-version: 3.11
97+
python-version: 3.13
12798

12899
- name: Install dependencies
129100
run: python -m pip install wheel twine setuptools
@@ -134,7 +105,7 @@ jobs:
134105
135106
- name: Publish package if tagged release
136107
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
137-
uses: pypa/gh-action-pypi-publish@release/v1
108+
uses: pypa/gh-action-pypi-publish@v1.13.0
138109
with:
139110
user: __token__
140111
password: ${{ secrets.PYPI_API_TOKEN }}

requirements.txt

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
# This file lists the python packages that your software depends on.
2-
# It is used by pip to manage software dependencies. It is not to be
3-
# confused with the software requirements, which are listed in
4-
# doc/requirements.rst
5-
6-
# Numpy went to version 2 on June 16th 2024.
7-
# OpenCV released 4.10.0.84 on June 17th 2024.
8-
# However, scikit-surgerycalibration version 0.2.5,
9-
# specifies opencv-contrib-python-headless opencv-contrib-python-headless<4.6 due to Issue #48.
10-
# If you google, you find lots of changes of opencv between 4.6 and 4.10, e.g. ArUco changes that affect our calibration.
11-
# So, for now, until scikit-surgerycalibration Issue #48 is fixed, so that we can upgrade to
12-
# opencv-contrib-python-headless >= 4.10.0.84 and beyond, numpy must be restricted to <2.0.
13-
numpy<2.0.0
2+
# Note: Numpy went to version 2 on June 16th 2024.
3+
# OpenCV released 4.10.0.84 on June 17th 2024.
4+
# This requires: scikit-surgeryimage>=1.0.0
5+
# scikit-surgeryvtk>=2.2.1
6+
# scikit-surgerycalibration>=1.0.0
7+
# And these libraries now work on python 3.9 to 3.13.
8+
numpy>=2.0.0
149
PySide6>=6.5.1.1
15-
opencv-contrib-python-headless>=4.2.0.32
10+
opencv-contrib-python-headless>=4.10.0.84
1611
scikit-surgerycore>=0.1.7
17-
scikit-surgeryimage>=0.10.1
18-
scikit-surgeryvtk>=2.2.1
19-
scikit-surgeryarucotracker
20-
scikit-surgerycalibration>=0.2.5
12+
scikit-surgeryimage>=1.0.0
13+
scikit-surgeryvtk>=2.3.0
14+
scikit-surgeryarucotracker>=1.1.0
15+
scikit-surgerycalibration>=1.0.0

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@
5050
),
5151

5252
install_requires=[
53-
'numpy<2.0.0',
53+
'numpy>=2.0.0',
5454
'PySide6>=6.5.1.1',
55-
'opencv-contrib-python-headless>=4.2.0.32',
55+
'opencv-contrib-python-headless>=4.10.0.84',
5656
'scikit-surgerycore>=0.1.7',
57-
'scikit-surgeryimage>=0.10.1',
58-
'scikit-surgeryvtk>=2.2.1',
59-
'scikit-surgeryarucotracker',
60-
'scikit-surgerycalibration>=0.2.5'
57+
'scikit-surgeryimage>=1.0.0',
58+
'scikit-surgeryvtk>=2.3.0',
59+
'scikit-surgeryarucotracker>=1.1.0',
60+
'scikit-surgerycalibration>=1.0.0'
6161
],
6262

6363
entry_points={

0 commit comments

Comments
 (0)