Skip to content

Commit

Permalink
Merge pull request #4164 from t20100/update-ci
Browse files Browse the repository at this point in the history
CI: Updated configuration; Dependendencies: Removed `bitshuffle` from test dependencies
  • Loading branch information
vallsv authored Aug 29, 2024
2 parents 62b4325 + 752497d commit ac2901a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
- os: windows-2019
cibw_archs: "auto64"
with_sse2: true
- os: macos-11
- os: macos-12
cibw_archs: "universal2"
with_sse2: true

Expand Down Expand Up @@ -176,8 +176,7 @@ jobs:
CIBW_TEST_COMMAND: python -c "import silx.test, sys; sys.exit(silx.test.run_tests(verbosity=3))"
# Skip tests for emulated architectures and arm64 macos
# Skip cp38 test on macos: Issue with libOpenGL
# Skip cp311 and cp312 on macos: bitshuffle does not build there
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64 cp38-macosx* cp311-macosx* cp312-macosx*"
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64 cp38-macosx*"

- uses: actions/upload-artifact@v4
with:
Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Release Notes
=============

2.1.1: 2024/08/13
-----------------

* Bug fixes

* `silx.io.specfile`: Fixed `SpecFile` deallocation issue (PR #4129)
* `silx.gui.data.DataViewer.DataViewer`: Fixed issue with accessing views after using the removeView method (PR #4131)
* `silx.opencl.convolution`: Fixed separable convolution on CPU that crashed in some cases by (PR #4150)
* `silx.util.retry`: Fixed resetting the timeout timer when iterating (PR #4157)

* Dependencies

* Removed numpy from build dependency (PR #4114)

2.1.0: 2024/04/19
-----------------

Expand Down
10 changes: 1 addition & 9 deletions ci/requirements-pinned.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
# To use pyopencl wheels on Windows
--trusted-host www.silx.org
--find-links http://www.silx.org/pub/wheelhouse/

numpy<2; python_version <= '3.10'
git+https://github.com/hgrecco/pint@f2e4081; python_version >= '3.10'

# Pinpoint pyopencl on Windows to latest wheel available in www.silx.org
# downloaded from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl
# Anyway, we don't test OpenCL on appveyor
pyopencl == 2020.3.1; sys_platform == 'win32' and python_version < '3.8'
pyopencl == 2023.1.4; sys_platform == 'win32' and python_version >= '3.8'
# Placeholder for pinned packages used by CI
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ filterwarnings = [
# note the use of single quote below to denote "raw" strings in TOML
'ignore:tostring\(\) is deprecated. Use tobytes\(\) instead\.:DeprecationWarning:OpenGL',
'ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning',
'ignore:Unable to import recommended hash:UserWarning:pytools',
]
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def get_project_configuration():
"pytest>=6.0",
"pytest-xvfb",
"pytest-mock",
"bitshuffle",
# Remove bitshuffle until wheels with numpy 2 support are available
# "bitshuffle",
"scipy>=1.10",
"pooch",
]
Expand Down

0 comments on commit ac2901a

Please sign in to comment.