Skip to content

Commit

Permalink
chore: release 0.44.0 (#200)
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <sarah.diot-girard@owkin.com>
  • Loading branch information
SdgJlbl authored Mar 12, 2024
1 parent 457e09b commit 187449e
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- name: Install tools
run: pip install wheel
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
steps:
- uses: actions/setup-python@v3
with:
python-version: 3.8
python-version: 3.11

- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-subprocess-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [windows-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ formats: []

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
version: 3.11
install:
- requirements: docs/requirements.txt
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## \[Unreleased\]

## [0.44.0](https://github.com/Substra/substrafl/releases/tag/0.44.0) - 2024-03-07

### Added

- Add documentation on how to change SubstraFL log level ([#194](https://github.com/Substra/substrafl/pull/194))
Expand Down Expand Up @@ -42,10 +44,10 @@ scores, intermediate_state_train, intermediate_state_agg = simulate_experiment(
- BREAKING: rename `test_data_sample_keys`, `test_tasks` and `register_test_operations`, `tasks` to `data_sample_keys` and `register_operations` in `TestDataNodes` ([#185](https://github.com/Substra/substrafl/pull/185))
- BREAKING: `InputIdentifiers` and `OutputIdentifiers` move from `substrafl.nodes.node` to `substrafl.nodes.schemas` ([#185](https://github.com/Substra/substrafl/pull/185))
- Switch to python-slim as base image, instead of substra-tools ([#197](https://github.com/Substra/substrafl/pull/197))
- Dropped support for Python 3.8 ([#200](https://github.com/Substra/substrafl/pull/200))

### Fixed
- Numerical stability of the `NewtonRaphson` strategy is improved by symmetrizing the Hessian
([#196](https://github.com/Substra/substrafl/pull/196))
- Numerical stability of the `NewtonRaphson` strategy is improved by symmetrizing the Hessian ([#196](https://github.com/Substra/substrafl/pull/196))

## [0.43.0](https://github.com/Substra/substrafl/releases/tag/0.43.0) - 2024-02-26

Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"Topic :: Utilities",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -44,8 +43,8 @@
install_requires=[
"numpy>=1.24",
"cloudpickle>=1.6.0",
"substra~=0.50.0",
"substratools~=0.21.1",
"substra~=0.51.0",
"substratools~=0.21.2",
"pydantic>=2.3.0,<3.0",
"pip>=21.2",
"tqdm",
Expand All @@ -66,5 +65,5 @@
"docker",
],
},
python_requires=">=3.8",
python_requires=">=3.9",
)
2 changes: 1 addition & 1 deletion substrafl/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.43.0"
__version__ = "0.44.0"
2 changes: 1 addition & 1 deletion substrafl/remote/register/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

# minimal and maximal values of Python 3 minor versions supported
# we need to store this as integer, else "3.11" < "3.9" (string comparison)
MINIMAL_PYTHON_VERSION = 8 # 3.8
MINIMAL_PYTHON_VERSION = 9 # 3.9
MAXIMAL_PYTHON_VERSION = 11 # 3.11

_DEFAULT_BASE_DOCKER_IMAGE = "python:{python_version}-slim"
Expand Down
2 changes: 1 addition & 1 deletion tests/installable_library/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
version="0.0.1",
description="testlib",
packages=find_packages(),
python_requires=">=3.8",
python_requires=">=3.9",
)
4 changes: 2 additions & 2 deletions tests/remote/register/test_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ def add_function(*args):
pass


@pytest.mark.parametrize("version", ["2.7", "3.7", "3.18"])
@pytest.mark.parametrize("version", ["2.7", "3.7", "3.8", "3.18"])
def test_check_python_version(version):
with pytest.raises(UnsupportedPythonVersionError):
register._check_python_version(version)


@pytest.mark.parametrize("version", ["3.8", "3.9", "3.10", "3.11"])
@pytest.mark.parametrize("version", ["3.9", "3.10", "3.11"])
def test_check_python_version_valid(version):
"""Does not raise for supported versions"""
register._check_python_version(version)
Expand Down

0 comments on commit 187449e

Please sign in to comment.