Skip to content

Commit d2b44ba

Browse files
committed
condition setuptools version and to avoid error associated with PEP 639 and pypa/twine#1216
1 parent 9395d83 commit d2b44ba

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/release-pypi.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
python-version: '3.12'
3232

3333
- name: Install dependencies
34-
run: >-
34+
# note we should upgrade packaging to address https://github.com/pypa/twine/issues/1216 once setuptools>=77
35+
run: |
3536
python -m pip install --user --upgrade build
3637
3738
- name: Build packages

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
99
### Added
1010

1111
- Support for Lightning ``2.5.1``
12-
- added (multi)representer for ``PretrainedConfig`` object types
12+
- Added (multi)representer for ``PretrainedConfig`` object types
1313

1414
## [2.5.0] - 2024-12-20
1515

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"setuptools",
3+
"setuptools<77.0.0",
44
"wheel",
55
]
66

0 commit comments

Comments
 (0)