Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ lib_injection_tests:
image: registry.ddbuild.io/images/mirror/ubuntu:25.04
parallel:
matrix:
- PYTHON: [ "2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ]
- PYTHON: [ "2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15-dev" ]
script:
- export PYENV_ROOT="${HOME}/.pyenv"
- export PATH="${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
Expand Down
21 changes: 21 additions & 0 deletions .riot/requirements/1c11c55.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# This file is autogenerated by pip-compile with Python 3.14
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1c11c55.in
#
attrs==25.4.0
coverage[toml]==7.13.1
hypothesis==6.45.0
iniconfig==2.3.0
mock==5.2.0
opentracing==2.4.0
packaging==25.0
pluggy==1.6.0
pygments==2.19.2
pytest==9.0.2
pytest-cov==7.0.0
pytest-mock==3.15.1
pytest-randomly==4.0.1
pyyaml==6.0.3
sortedcontainers==2.4.0
2 changes: 1 addition & 1 deletion lib-injection/sources/sitecustomize.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def parse_version(version):
RUNTIMES_ALLOW_LIST = {
"cpython": {
"min": Version(version=(3, 9), constraint=""),
"max": Version(version=(3, 14), constraint=""),
"max": Version(version=(3, 15), constraint=""),
}
}

Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/ssi-enable-3.14-fd53785aba30d8d6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
features:
- |
lib-injection: Enable lib-injection on Python 3.14.
2 changes: 1 addition & 1 deletion riotfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def select_pys(min_version: str = MIN_PYTHON_VERSION, max_version: str = MAX_PYT
command="pytest {cmdargs} tests/lib_injection/",
venvs=[
Venv(
pys=select_pys(max_version="3.13"),
pys=select_pys(),
pkgs={
"PyYAML": latest,
"pytest-randomly": latest,
Expand Down
2 changes: 1 addition & 1 deletion tests/lib_injection/test_guardrails.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def script_to_run(import_line):
id="mixed_multi_incomp_one_comp",
),
pytest.param({}, [], id="no_relevant_packages"),
pytest.param({"click": "0.1"}, [], id="unrelated_package"),
pytest.param({"click": "8.0"}, [], id="unrelated_package"),
]


Expand Down