diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 139ea75a22..b04c77afe7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,11 +23,11 @@ jobs: python-version: "3.8" QT_API: PyQt5 with_opencl: false - - os: ubuntu-latest + - os: ubuntu-22.04 python-version: "3.11" QT_API: PyQt6 with_opencl: true - - os: ubuntu-latest + - os: ubuntu-22.04 python-version: "3.13" QT_API: PySide6 with_opencl: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 659ac0d46b..b47bb2dfd4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ on: jobs: build_sdist: name: Build source distribution - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -32,7 +32,7 @@ jobs: test_sdist: needs: [build_sdist] name: Test source distribution - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -55,7 +55,7 @@ jobs: build_doc: name: Build documentation - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -190,7 +190,7 @@ jobs: test_windows_installer, ] name: Upload release to PyPI - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: name: pypi permissions: @@ -209,7 +209,7 @@ jobs: windows-installer-publish: needs: [build_windows_installer, test_windows_installer] name: Upload Windows installer - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: name: assets permissions: diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 87399e4454..e870180d3a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,76 @@ Release Notes ============= +2.2.0: 2025/01/21 +----------------- + +* `silx view`: + + * Added a new window to plot selected datasets as curves (PR #4132, #4137, #4140, #4141, #4145, #4146) + * Added a tool button to control the aggregation of displayed image data (PR #4174) + +* `silx.gui` + + * `silx.gui.colors`: Add "percentile" mode for autoscaling (PR #4154) + * `silx.gui.data.DataViewer.DataViewer`: Fixed issue with accessing views after using the removeView method. (PR #4131) + * `silx.gui.dialog.ColormapDialog`: Fixed typo in method name getDisplayMode (PR #4142) + * `silx.gui.plot.tools.profile`: Fixed profile error when plot item is None (PR #4196) + * `silx.gui.plot.items`: Fixed Marker.setSymbolSize (PR #4181) + * `silx.gui.plot.ImageStack`: Fixed `_urlIndexes` initialization. (PR #4189) + * `silx.gui.plot.tools.profile.manager`: Fixed threaded execution to avoid seg fault with PySide6.7 (PR #4169) + * `silx.gui.plot.PlotWidget.addCurve`: Fixed progression in color, linestyle (PR #4138) + * `silx.gui.plot.PlotWidget`: Fixed support of PySide6 (PR #4136) + * `silx.gui.widgets.FrameBrowser`: Added a play button to `HorizontalSliderWithBrowser` (PR #4176) + +* `silx.io` + + * `silx.io.fioh5`: Added tests for NaN and in file (PR #4179) + * `silx.io.fioh5`: Improved handling of missing data entries (PR #4156) + * `silx.io.h5py_utils`: Fixed support of libhdf5 v1.14.4 (PR #4177) + * `silx.io.h5py_utils`: Added `is_h5py_exception` and `retry_h5py_error` (PR #4200) + * `silx.io.specfile`: Fixed `SpecFile` deallocation issue (PR #4129) + * `silx.ui.specfile`: Fixed by using int instead of long in cython code (PR #4195) + * `silx.io.url`: Added HSDS URL support (PR #4119) + * `silx.io.utils`: Removed `print` statement (PR #4192) + +* `silx.math.fit.peaks`: Fixed `-Wuse-after-free` warning (PR #4147) + +* `silx.opencl` + + * Fixed deprecation warning upon texture creation (PR #4193) + * `silx.opencl.convolution`: Fixed separable convolution on CPU that crashed in some cases (PR #4150) + * `silx.opencl.processing`: work-around for double precision GPU on Apple-silicon (PR #4198) + +* `silx.utils` + + * `silx.utils.enum`: Deprecated `Enum.from_value` method (PR #4143) + * `silx.utils.ExternalResources`: Allow to set data_home when instantiating the class (PR #4151) + * `silx.utils.retry`: Fixed resetting the timeout timer when iterating (PR #4157) + +* Documentation + + * Added how-to make a release (PR #4112) + * Added missing arg in docstring of open_item (PR #4117) + * Updated installation and contribution documentation (PR #4148) + * Improved release instructions (PR #4163) + +* Dependencies + + * Removed numpy from build dependency (PR #4114) + * Removed `bitshuffle` from test dependencies (PR #4164) + +* Tests + + * Improved tests by converting warnings to errors (PR #4113) + +* Continuous Integration + + * Added build and deployment of Windows installer to the release workflow (PR #4122) + * Added tests and wheel generation for Python 3.13 (PR #4201) + * Removed appveyor (PR #4171) + * Enabled OpenCL tests on Linux and OpenGL tests on Windows (PR #4172) + * Fixed issues and updated CI configuration (PR #4126, #4149, #4164, #4126) + 2.1.1: 2024/08/13 ----------------- diff --git a/src/silx/_version.py b/src/silx/_version.py index 3d016564a8..592806e08c 100644 --- a/src/silx/_version.py +++ b/src/silx/_version.py @@ -70,7 +70,7 @@ MAJOR = 2 MINOR = 2 MICRO = 0 -RELEV = "beta" # <16 +RELEV = "final" # <16 SERIAL = 0 # <16 date = __date__ diff --git a/tools/format_GH_release_notes.py b/tools/format_GH_release_notes.py new file mode 100644 index 0000000000..802a92ec9e --- /dev/null +++ b/tools/format_GH_release_notes.py @@ -0,0 +1,16 @@ +""" Fix the format of GitHub-generated release notes. """ + +import os.path +import re + +root_dir = os.path.normpath(os.path.join(os.path.dirname(__file__), "..")) + +with open(os.path.join(root_dir, 'CHANGELOG.rst'), 'r') as f: + content = f.read().split('/n') + + +with open(os.path.join(root_dir,'CHANGELOG_new.rst'), 'w') as f: + for line in content: + new_line = re.sub(r'by @.+ in https://github\.com/silx-kit/silx/pull/(\d+)', r'(PR #\1)', line) + f.write(new_line) + f.write('\n')