Skip to content

Commit 13fcc7a

Browse files
aserheichuk-5239chaubold
authored andcommitted
AP-21518: Add Python 3.12 and 3.13 to test configurations
AP-21518: updates Jenkings file to run more workflow envs AP-21518: updates pixi.toml to add 3.12 and 3.13 support AP-21518: renames files updates pixi.lock file
1 parent 9ea755c commit 13fcc7a

File tree

9 files changed

+4189
-268
lines changed

9 files changed

+4189
-268
lines changed

Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ static final String[] WF_TESTS_PYTHON_ENVS = [
66
'bundled',
77
'env_py38_pa7.yml',
88
'env_py39_kn47.yml',
9+
'env_py312_kn56.yml',
10+
'env_py313_kn56.yml',
911
]
1012

1113
@groovy.transform.Field
1214
static final String DEFAULT_WF_TESTS_PYTHON_ENV = 'bundled'
1315

1416
@groovy.transform.Field
15-
static final List<String> PYTEST_PYTHON_ENVS = ['env_py38_legacy', 'env_py38', 'env_py39', 'env_py311', "env_py311kn55"]
17+
static final List<String> PYTEST_PYTHON_ENVS = ['env_py38_legacy', 'env_py38', 'env_py39', 'env_py311', "env_py311kn55", "env_py312kn56", "env_py313kn56"]
1618

1719
library "knime-pipeline@$BN"
1820

pixi.lock

Lines changed: 4064 additions & 267 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ depends-on = [
1414
{ task = "test", environment = "test-py39" },
1515
{ task = "test", environment = "test-py311" },
1616
{ task = "test", environment = "test-py311kn55" },
17+
{ task = "test", environment = "test-py312kn56" },
18+
{ task = "test", environment = "test-py313kn56" },
1719
]
1820

1921
[feature.test.tasks]
@@ -39,6 +41,8 @@ test-py38 = { features = ["py38", "test"], no-default-feature = true }
3941
test-py39 = { features = ["py39", "test"], no-default-feature = true }
4042
test-py311 = { features = ["py311", "test"], no-default-feature = true }
4143
test-py311kn55 = { features = ["py311kn55", "test"], no-default-feature = true }
44+
test-py312kn56 = { features = ["py312kn56", "test"], no-default-feature = true }
45+
test-py313kn56 = { features = ["py313kn56", "test"], no-default-feature = true }
4246
docs = { features = ["docs"], no-default-feature = true }
4347

4448
# Test features
@@ -74,6 +78,24 @@ python = "3.11.*"
7478
knime-python-base = "5.5.*"
7579

7680

81+
[feature.py312kn56.dependencies]
82+
python = "3.12.*"
83+
# knime-python-base = "5.6.*"
84+
pyarrow = "21.0.*"
85+
py4j = "0.10.9"
86+
pandas = "2.3.*"
87+
markdown = "3.8.*"
88+
89+
90+
[feature.py313kn56.dependencies]
91+
python = "3.13.*"
92+
# knime-python-base = "5.6.*"
93+
pyarrow = "21.0.*"
94+
pandas = "2.3.*"
95+
py4j = "0.10.9"
96+
markdown = "3.8.*"
97+
98+
7799
# Docs building
78100
[feature.docs.dependencies]
79101
python = "3.11.*"

pytest-envs/env_py312kn56.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: python_test_environment
2+
channels:
3+
- conda-forge
4+
- knime
5+
dependencies:
6+
- python=3.12
7+
# - knime-python-base=5.6
8+
- coverage
9+
- pytest
10+
- matplotlib # View tests
11+
- seaborn # View tests
12+
- pyarrow=21.0
13+
- pandas=2.3
14+
- py4j=0.10.9
15+
- markdown=3.8
16+
- nbformat # Jupyter nodebook loading
17+
- ipython # Jupyter nodebook loading

pytest-envs/env_py313kn56.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: python_test_environment
2+
channels:
3+
- conda-forge
4+
- knime
5+
dependencies:
6+
- python=3.13
7+
# - knime-python-base=5.5
8+
- coverage
9+
- pytest
10+
- matplotlib # View tests
11+
- seaborn # View tests
12+
- pyarrow=21.0
13+
- pandas=2.3
14+
- py4j=0.10.9
15+
- markdown=3.8
16+
- nbformat # Jupyter nodebook loading
17+
- ipython # Jupyter nodebook loading

workflow-tests/env_py10_kn55.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: python_test_environment
2+
channels:
3+
- conda-forge
4+
- knime
5+
dependencies:
6+
- python=3.10
7+
# - knime-python-base=5.5
8+
- coverage
9+
- pytest
10+
- matplotlib # View tests
11+
- seaborn # View tests
12+
- pyarrow
13+
- pandas
14+
- py4j
15+
- nbformat # Jupyter nodebook loading
16+
- ipython # Jupyter nodebook loading

workflow-tests/env_py11_kn55.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: python_test_environment
2+
channels:
3+
- conda-forge
4+
- knime
5+
dependencies:
6+
- python=3.11
7+
# - knime-python-base=5.5
8+
- coverage
9+
- pytest
10+
- matplotlib # View tests
11+
- seaborn # View tests
12+
- pyarrow
13+
- pandas
14+
- py4j
15+
- nbformat # Jupyter nodebook loading
16+
- ipython # Jupyter nodebook loading

workflow-tests/env_py312_kn56.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: python_test_environment
2+
channels:
3+
- conda-forge
4+
- knime
5+
dependencies:
6+
- python=3.12
7+
# - knime-python-base=5.6
8+
- coverage
9+
- pytest
10+
- matplotlib # View tests
11+
- seaborn # View tests
12+
- pyarrow=21.0.*
13+
- pandas=2.3.*
14+
- py4j=0.10.19
15+
- markdown=3.8.*
16+
- nbformat # Jupyter nodebook loading
17+
- ipython # Jupyter nodebook loading

workflow-tests/env_py313_kn56.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: python_test_environment
2+
channels:
3+
- conda-forge
4+
- knime
5+
dependencies:
6+
- python=3.13
7+
# - knime-python-base=5.6
8+
- coverage
9+
- pytest
10+
- matplotlib # View tests
11+
- seaborn # View tests
12+
- pyarrow=21.0.*
13+
- pandas=2.3.*
14+
- py4j=0.10.9
15+
- markdown=3.8.*
16+
- nbformat # Jupyter nodebook loading
17+
- ipython # Jupyter nodebook loading

0 commit comments

Comments
 (0)