2 parents 9467a0a + 00ce1db commit e4bfa25Copy full SHA for e4bfa25
2 files changed
.github/workflows/release.yaml
@@ -138,11 +138,11 @@ jobs:
138
- name: Install flit
139
run: |
140
python -m pip install --upgrade pip
141
- python -m pip install flit~=3.9
+ python -m pip install "flit>=4,<5" "flit_core>=4,<5"
142
143
- name: Build and publish
144
145
- flit publish
+ flit publish --use-vcs
146
env:
147
FLIT_USERNAME: __token__
148
FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
pyproject.toml
@@ -1,6 +1,6 @@
1
[build-system]
2
# Build the package with [flit](https://flit.readthedocs.io)
3
-requires = ["flit_core >=3.4,<4"]
+requires = ["flit_core >=4,<5"]
4
build-backend = "flit_core.buildapi"
5
6
[project]
0 commit comments