@@ -31,25 +31,25 @@ jobs:
3131
3232 - name : Build the dist files
3333 run : python -m build .
34-
35- - name : Publish to the test PyPI
36- env :
37- TWINE_PASSWORD : ${{ secrets.TEST_PYPI_TOKEN }}
38- run : twine upload dist/* --skip-existing --repository=testpypi
34+ #
35+ # - name: Publish to the test PyPI
36+ # env:
37+ # TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
38+ # run: twine upload dist/* --skip-existing --repository=testpypi
3939
4040 - name : Get tag name
4141 id : get_tag_name
4242 run : |
4343 echo TAG_NAME=$(grep '^version' pyproject.toml | head -1 | cut -d '"' -f 2) >> $GITHUB_OUTPUT
4444
45- - name : Test installing from test PyPI and running tests
46- # install the wheel we just uploaded to testpypi directly, and all other dependencies from normal pypi
47- # uses the version number to fetch the url of the .whl file
48- run : |
49- python -m pip install uv
50- uv pip install --system datatrove[testing]@$(curl -s https://test.pypi.org/simple/datatrove/ | grep ${{ steps.get_tag_name.outputs.TAG_NAME }}-py3 | sed -nE 's/.*href="([^"]+)".*/\1/p')
51- python -m nltk.downloader punkt
52- python -m pytest -sv ./tests/
45+ # - name: Test installing from test PyPI and running tests
46+ # # install the wheel we just uploaded to testpypi directly, and all other dependencies from normal pypi
47+ # # uses the version number to fetch the url of the .whl file
48+ # run: |
49+ # python -m pip install uv
50+ # uv pip install --system datatrove[testing]@$(curl -s https://test.pypi.org/simple/datatrove/ | grep ${{ steps.get_tag_name.outputs.TAG_NAME }}-py3 | sed -nE 's/.*href="([^"]+)".*/\1/p')
51+ # python -m nltk.downloader punkt
52+ # python -m pytest -sv ./tests/
5353
5454 - name : Tag the release
5555 uses : actions/github-script@v7
0 commit comments