Skip to content

Commit e4bfa25

Browse files
authored
Merge pull request #403 from CCPBioSim/402-bug-flit-publish-fails-with-incompatible-flit
Update Flit release tooling to v4
2 parents 9467a0a + 00ce1db commit e4bfa25

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/release.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ jobs:
138138
- name: Install flit
139139
run: |
140140
python -m pip install --upgrade pip
141-
python -m pip install flit~=3.9
141+
python -m pip install "flit>=4,<5" "flit_core>=4,<5"
142142
143143
- name: Build and publish
144144
run: |
145-
flit publish
145+
flit publish --use-vcs
146146
env:
147147
FLIT_USERNAME: __token__
148148
FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
# Build the package with [flit](https://flit.readthedocs.io)
3-
requires = ["flit_core >=3.4,<4"]
3+
requires = ["flit_core >=4,<5"]
44
build-backend = "flit_core.buildapi"
55

66
[project]

0 commit comments

Comments
 (0)