Skip to content

Commit 3c1cba5

Browse files
mdellwegggainey
authored andcommitted
Pin click to z-streams
It turns out the click library introduces breaking changes with y-releases. (cherry picked from commit 6d643dd) (cherry picked from commit 1eafe5c)
1 parent 73bc032 commit 3c1cba5

File tree

7 files changed

+14
-13
lines changed

7 files changed

+14
-13
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
test:
88
if: "endsWith(github.base_ref, 'main')"
9-
runs-on: "ubuntu-20.04"
9+
runs-on: "ubuntu-24.04"
1010
steps:
1111
- uses: "actions/checkout@v4"
1212
- uses: "actions/cache@v4"
@@ -19,7 +19,7 @@ jobs:
1919
- name: "Set up Python"
2020
uses: "actions/setup-python@v5"
2121
with:
22-
python-version: "3.11"
22+
python-version: "3.13"
2323
- name: "Install Test Dependencies"
2424
run: |
2525
pip install -r doc_requirements.txt
@@ -28,7 +28,7 @@ jobs:
2828
make docs
2929
no-test:
3030
if: "!endsWith(github.base_ref, 'main')"
31-
runs-on: "ubuntu-20.04"
31+
runs-on: "ubuntu-latest"
3232
steps:
3333
- run: |
3434
echo "Skip docs testing on non-main branches."

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
python:
1414
- "3.11"
15-
- "3.12"
15+
- "3.13"
1616
steps:
1717
- uses: "actions/checkout@v4"
1818
- uses: "actions/cache@v4"

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
unittest:
15-
runs-on: "ubuntu-20.04"
15+
runs-on: "ubuntu-latest"
1616
steps:
1717
- uses: "actions/checkout@v4"
1818
- uses: "actions/cache@v4"
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
make unittest
3939
test:
40-
runs-on: "ubuntu-20.04"
40+
runs-on: "ubuntu-24.04"
4141
needs:
4242
- "unittest"
4343
strategy:

CHANGES/+click.dependency.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adjust click dependency constraints to breaking changes in y-releases.

lint_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Lint requirements
22
black==25.1.0
3-
flake8==7.1.2
3+
flake8==7.2.0
44
flake8-pyproject==1.2.3
55
isort==6.0.0
66
mypy==1.15.0

pulp-glue/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools<76"]
2+
requires = ["setuptools<81"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -24,8 +24,8 @@ classifiers = [
2424
]
2525
dependencies = [
2626
"importlib_resources>=5.4.0,<6.2;python_version<'3.9'",
27-
"multidict>=6.0.5,<6.2",
28-
"packaging>=20.0,<=24.2", # CalVer
27+
"multidict>=6.0.5,<6.5",
28+
"packaging>=20.0,<=25.0", # CalVer
2929
"requests>=2.24.0,<2.33",
3030
]
3131

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools<76"]
2+
requires = ["setuptools<81"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -24,8 +24,8 @@ classifiers=[
2424
]
2525
dependencies = [
2626
"pulp-glue==0.31.2.dev",
27-
"click>=8.0.0,<9",
28-
"packaging>=20.0,<=24.2", # CalVer
27+
"click>=8.0.0,<8.2", # Proven to not do semver.
28+
"packaging>=20.0,<=25", # CalVer
2929
"PyYAML>=5.3,<6.1",
3030
"schema>=0.7.5,<0.8",
3131
"tomli>=2.0.0,<2.1;python_version<'3.11'",

0 commit comments

Comments
 (0)