Skip to content

Commit dc754c7

Browse files
committed
Try again
1 parent 253ecf5 commit dc754c7

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/publish-fa4.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@ jobs:
1919
with:
2020
python-version: '3.12'
2121
- name: Install build dependencies
22-
run: pip install build twine
22+
run: pip install build
2323
- name: Build package
2424
run: python -m build
2525
working-directory: flash_attn/cute
26-
- name: Check package metadata
27-
run: twine check dist/*
28-
working-directory: flash_attn/cute
2926
- name: Store distribution packages
3027
uses: actions/upload-artifact@v4
3128
with:
@@ -60,4 +57,4 @@ jobs:
6057
env:
6158
TWINE_USERNAME: "__token__"
6259
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
63-
run: pip install twine && python -m twine upload dist/*
60+
run: pip install "twine>=6.1" "packaging>=24.2" && python -m twine upload dist/*

flash_attn/cute/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools", "setuptools-scm>=8"]
2+
requires = ["setuptools>=75", "setuptools-scm>=8"]
33
build-backend = "setuptools.build_meta"
44

55
[project]

0 commit comments

Comments
 (0)