Skip to content

Commit ff4759e

Browse files
committed
Merge branch 'main' into types_param
2 parents 5915224 + 57064e6 commit ff4759e

File tree

7 files changed

+44
-11
lines changed

7 files changed

+44
-11
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Set environment variables
7272
run: |
7373
echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
74-
echo "CONDA_FILE=$(ls dist/*.conda)" >> $GITHUB_ENV
74+
echo "CONDA_FILE=$(ls dist/*.tar.bz2)" >> $GITHUB_ENV
7575
- uses: conda-incubator/setup-miniconda@v3
7676
with:
7777
miniconda-version: "latest"

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ jobs:
5353
run: |
5454
MATRIX=$(jq -nsc '{
5555
"os": ["ubuntu-latest", "macos-latest", "windows-latest"],
56-
"environment": ["test-38", "test-312", "test-313"]
56+
"environment": ["test-39", "test-312", "test-313"]
5757
}')
5858
echo "MATRIX=$MATRIX" >> $GITHUB_ENV
5959
- name: Set test matrix with 'full' option
6060
if: env.MATRIX_OPTION == 'full'
6161
run: |
6262
MATRIX=$(jq -nsc '{
6363
"os": ["ubuntu-latest", "macos-latest", "windows-latest"],
64-
"environment": ["test-38", "test-39", "test-310", "test-311", "test-312", "test-313"]
64+
"environment": ["test-39", "test-310", "test-311", "test-312", "test-313"]
6565
}')
6666
echo "MATRIX=$MATRIX" >> $GITHUB_ENV
6767
- name: Set test matrix with 'downstream' option

benchmarks/asv.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"environment_type": "virtualenv",
1616
"install_timeout": 600,
1717
"show_commit_url": "https://github.com/holoviz/param/commit/",
18-
// "pythons": ["3.8"],
18+
// "pythons": ["3.9"],
1919
"benchmark_dir": "benchmarks",
2020
"env_dir": ".asv/env",
2121
"results_dir": ".asv/results",

doc/developer_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pixi run test-unit
134134

135135
The task is available in the following environments:
136136

137-
1. `test-38`, `test-39`, `test-310`, `test-311`, `test-312`, and `test-313`.
137+
1. `test-39`, `test-310`, `test-311`, `test-312`, and `test-313`.
138138
1. `test-core` and `test-pypy`
139139

140140
Where the first ones have the same environments except for different Python versions. `test-core` only has a core set of dependencies, and `test-pypy` is for testing on PyPy.

doc/releases.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Releases
22

3+
## Version 2.2.0
4+
5+
Date: 2024-12-16
6+
7+
This minor release brings a few enhancements and bugfixes. Importantly, it includes some breaking changes, removing deprecated APIs or raising errors during unsafe operations which would previously only emit warnings. Many thanks to @gandhis1 and @JRRudy1 for their first contributions, and to @hoxbro, @maximlt,and @MarcSkovMadsen for their continued maintenance and development efforts.
8+
9+
Enhancements:
10+
11+
- Annotate `depends` and `accept_arguments` decorators ([#962](https://github.com/holoviz/param/pull/962))
12+
- Stop directly importing numpy and add `gen_types` decorator ([#966](https://github.com/holoviz/param/pull/966))
13+
14+
Bug Fixes:
15+
16+
- Added missing `super().__init_subclass__` call in `_ParameterBase.__init_subclass__` ([#969](https://github.com/holoviz/param/pull/969))
17+
- Remove `_dict_update` ([#980](https://github.com/holoviz/param/pull/980))
18+
19+
Documentation:
20+
21+
- Improve some docstrings and set up `ruff` to validate them ([#977](https://github.com/holoviz/param/pull/977), [#982](https://github.com/holoviz/param/pull/982), and [#983](https://github.com/holoviz/param/pull/983))
22+
23+
Breaking changes / Deprecations:
24+
25+
- Remove `_param_watchers`, raise `RuntimeError` on unsafe ops during init, and failed validation of a parameter default after inheritance ([#973](https://github.com/holoviz/param/pull/973))
26+
- Promote many deprecation warnings to future warnings ([#974](https://github.com/holoviz/param/pull/974))
27+
28+
Compatibility:
29+
30+
- Test Python 3.13 ([#971](https://github.com/holoviz/param/pull/971))
31+
- Drop Python 3.8 support ([#986](https://github.com/holoviz/param/pull/986))
32+
33+
Infrastructure / Tests:
34+
35+
- Replace `hatch` with `pixi` ([#971](https://github.com/holoviz/param/pull/971))
36+
- Fix reactive tests failing intermittently on Windows ([#971](https://github.com/holoviz/param/pull/971), [#967](https://github.com/holoviz/param/pull/967))
37+
- Change linting to `ruff` ([#978](https://github.com/holoviz/param/pull/978))
38+
39+
[*Full Changelog*](https://github.com/holoviz/param/compare/v2.1.1...v2.2.0)
40+
341
## Version 2.1.1
442

543
Date: 2024-06-25

pixi.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ install = 'python -m pip install --no-deps --disable-pip-version-check -e .'
1010
PYTHONIOENCODING = "utf-8"
1111

1212
[environments]
13-
test-38 = ["py38", "test-core", "test", "example", "test-example"]
1413
test-39 = ["py39", "test-core", "test", "example", "test-example"]
1514
test-310 = ["py310", "test-core", "test", "example", "test-example"]
1615
test-311 = ["py311", "test-core", "test", "example", "test-example"]
@@ -26,9 +25,6 @@ lint = ["py311", "lint"]
2625
nomkl = "*"
2726
pip = "*"
2827

29-
[feature.py38.dependencies]
30-
python = "3.8.*"
31-
3228
[feature.py39.dependencies]
3329
python = "3.9.*"
3430

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "Make your Python code clearer and more reliable by declaring Parameters."
99
readme = "README.md"
1010
license = { text = "BSD-3-Clause" }
11-
requires-python = ">=3.8"
11+
requires-python = ">=3.9"
1212
authors = [
1313
{ name = "HoloViz", email = "developers@holoviz.org" },
1414
]
@@ -23,7 +23,6 @@ classifiers = [
2323
"Natural Language :: English",
2424
"Operating System :: OS Independent",
2525
"Programming Language :: Python :: 3",
26-
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
2928
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)