Skip to content

Commit

Permalink
Numpy 2 and pydicom 3 (#110)
Browse files Browse the repository at this point in the history
* Unpin numpy and support pydicom 3

* Update changelog

* Restrict image codecs version

* Remove 3.9 from test

* Update jpeg turbo in action
  • Loading branch information
erikogabrielsson authored Oct 21, 2024
1 parent d6670ff commit 6d753b7
Show file tree
Hide file tree
Showing 4 changed files with 692 additions and 615 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Prevent cache-miss on windows
run: |
Expand Down Expand Up @@ -69,13 +69,14 @@ jobs:
run: |
echo OS_TAG=macos >> $GITHUB_ENV
echo DYLD_LIBRARY_PATH=/opt/homebrew/lib >> $GITHUB_ENV
brew install jpeg-turbo openslide
brew install openslide
brew unlink jpeg-turbo && brew install jpeg-turbo --HEAD
- name: Set up Windows
shell: pwsh
if: matrix.os == 'windows-latest'
run: |
Invoke-WebRequest -Uri https://sourceforge.net/projects/libjpeg-turbo/files/2.1.4/libjpeg-turbo-2.1.4-vc64.exe/download -OutFile libjpeg-turbo-2.1.4-vc64.exe -UserAgent "NativeHost"
7z e libjpeg-turbo-2.1.4-vc64.exe -oC:\turbojpeg bin/turbojpeg.dll
Invoke-WebRequest -Uri https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.0.90/libjpeg-turbo-3.0.90-vc64.exe -OutFile libjpeg-turbo-3.0.90-vc64.exe -UserAgent "NativeHost"
7z e libjpeg-turbo-3.0.90-vc64.exe -oC:\turbojpeg bin/turbojpeg.dll
Invoke-WebRequest -Uri https://github.com/openslide/openslide-winbuild/releases/download/v20221217/openslide-win64-20221217.zip -OutFile openslide-win64-20221217.zip -UserAgent "NativeHost"
7z e openslide-win64-20221217.zip -oC:\openslide openslide-win64-20221217\bin
- name: Set up paths in windows
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Support for pydicom 3.0. This requires Pyhton >3.10.

### Removed

- Support for Python 3.9.
- Support for pydicom <3.

### Changed

- Unpinned requirement for numpy to support numpy 2.

## [0.14.2] - 2024-07-01

### Fixed
Expand Down
Loading

0 comments on commit 6d753b7

Please sign in to comment.