Skip to content

Commit 7e50171

Browse files
Bump pydantic requirement (teemtee#4015)
Matches F43 and rawhide and uses pre-compiled wheels when from pypi Started causing issues in https://github.com/teemtee/tmt/pull/3991/checks?check_run_id=49364934010 (not sure why it didn't become an issue before) Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
1 parent 1ee307e commit 7e50171

File tree

6 files changed

+19
-14
lines changed

6 files changed

+19
-14
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ repos:
3737
- "packaging>=20"
3838
- "pint>=0.16.1"
3939
- "pydantic>=1.10.14"
40+
# Missing python3.14 pre-compiled wheels among other issues
41+
- "pydantic>=2.12.0a1; python_version >= '3.14'"
4042
- "pygments>=2.7.4"
4143
- "requests>=2.25.1"
4244
- "ruamel.yaml>=0.16.6"
@@ -86,6 +88,8 @@ repos:
8688
- "packaging>=20"
8789
- "pint>=0.16.1"
8890
- "pydantic>=1.10.14"
91+
# Missing python3.14 pre-compiled wheels among other issues
92+
- "pydantic>=2.12.0a1; python_version >= '3.14'"
8993
- "pygments>=2.7.4"
9094
- "requests>=2.25.1"
9195
- "ruamel.yaml>=0.16.6"
@@ -174,6 +178,8 @@ repos:
174178
- "packaging>=20" # 20 seems to be available with RHEL8
175179
- "pint<0.20"
176180
- "pydantic>=1.10.14"
181+
# Missing python3.14 pre-compiled wheels among other issues
182+
- "pydantic>=2.12.0a1; python_version >= '3.14'"
177183
- "pygments>=2.7.4" # 2.7.4 is the current one available for RHEL9
178184
# Help installation by reducing the set of inspected botocore release.
179185
# There is *a lot* of them, and hatch might fetch many of them.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ dependencies = [
4141
"packaging>=20.9",
4242
"pint>=0.16.1",
4343
"pydantic>=1.10.14",
44+
# Missing python3.14 pre-compiled wheels among other issues
45+
"pydantic>=2.12.0a1; python_version >= '3.14'",
4446
"pygments>=2.7.4",
4547
"requests>=2.25.1",
4648
"ruamel.yaml>=0.16.6",

tests/pip/install.fmf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ require:
66
- python3-devel
77
tier: null
88
adjust+:
9-
- when: distro == fedora-rawhide
9+
- when: distro >= fedora-43
1010
enabled: false
1111
because: |
12-
Python 3.14 wheels for lxml and pydantic are not available yet
12+
Python 3.14 wheels for cffi are not available yet
1313

1414
/mini:
1515
summary: Ensure the minimal pip install works

tests/precommit/main.fmf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,3 @@ require:
44
- git-core
55
- tmt
66
tier: 4
7-
8-
adjust+:
9-
- when: distro == fedora-rawhide
10-
enabled: false
11-
because: |
12-
Python 3.14 wheels for pydantic are not available yet

tests/provision/container/toolbox/main.fmf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ adjust+:
2121
when: distro >= fedora-41
2222
because: |
2323
We are not interested in AVCs for this test due to complicated setup.
24-
- when: distro == fedora-rawhide
24+
- when: distro >= fedora-43
2525
enabled: false
2626
because: |
27-
Python 3.14 wheels for lxml and pydantic are not available yet
27+
Tests have started to degrade, further investigation is needed
28+
https://artifacts.dev.testing-farm.io/96c31e1f-425c-4e81-bb63-710a64836396/

tests/unit/main.fmf

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ require+:
4040
We want to run this locally and it's enough to execute
4141
on a single distro when run in the CI. We don't need
4242
to exercise this again and again across all distros.
43-
- when: distro == fedora-rawhide
43+
- when: distro >= fedora-43
4444
enabled: false
4545
because: |
46-
Python 3.14 wheels for lxml and pydantic are not available yet
46+
Tests have started to degrade, further investigation is needed
47+
https://artifacts.dev.testing-farm.io/96c31e1f-425c-4e81-bb63-710a64836396/
4748

4849
/basic:
4950
summary: Basic unit tests (development packages)
@@ -72,10 +73,11 @@ require+:
7273
- when: initiator == packit
7374
because: Enable in CI only
7475
enabled: true
75-
- when: distro == fedora-rawhide
76+
- when: distro >= fedora-43
7677
enabled: false
7778
because: |
78-
Python 3.14 wheels for lxml and pydantic are not available yet
79+
Unit tests started to fail at pickling, needs investigation
80+
https://artifacts.dev.testing-farm.io/96c31e1f-425c-4e81-bb63-710a64836396/
7981

8082
/basic:
8183
summary: Basic unit tests (system packages)

0 commit comments

Comments
 (0)