Skip to content

Commit e113504

Browse files
vfdev-5Ishan-Kumar2
authored andcommitted
Try to fix nightly pypi release (#2377)
* Test twine * Update binaries-nightly-release.yml * Updated the workaround
1 parent 5ef7de7 commit e113504

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/binaries-nightly-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ jobs:
2828
run: |
2929
conda install -y pytorch torchvision cpuonly -c pytorch-nightly
3030
pip install -r requirements-dev.txt
31-
pip install --upgrade --no-cache-dir twine
32-
python setup.py install
3331
3432
- name: Build and Publish Conda binaries
3533
shell: bash -l {0}
@@ -43,6 +41,9 @@ jobs:
4341
- name: Build and Publish PyPi binaries
4442
shell: bash -l {0}
4543
run: |
44+
# workaround to fix https://github.com/pytorch/ignite/issues/2373
45+
pip uninstall -y twine pkginfo
46+
pip install --upgrade --no-cache-dir twine 'pkginfo>=1.8.2'
4647
python setup.py sdist bdist_wheel
4748
twine --version
4849
twine check dist/*

0 commit comments

Comments
 (0)