Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Attestation generation failure: The following paths look like distributions but are not actually files" #256

Closed
hugovk opened this issue Sep 3, 2024 · 3 comments

Comments

@hugovk
Copy link
Contributor

hugovk commented Sep 3, 2024

I added attestations: true to my deploy workflow:

      - name: Upload package to Test PyPI
        uses: pypa/gh-action-pypi-publish@release/v1
        with:
          attestations: true
          repository-url: https://test.pypi.org/legacy/

But it failed:

Checking dist/tinytext-3.8.1.dev14-py3-none-any.whl: PASSED
Checking dist/tinytext-3.8.1.dev14.tar.gz: PASSED
Notice: Generating and uploading digital attestations
Error: Attestation generation failure: The following paths look like distributions but are not actually files: /github/workspace/dist/tinytext-3.8.1.dev14.tar.gz, /github/workspace/dist/tinytext-3.8.1.dev14-py3-none-any.whl

What am I missing?

@webknjaz
Copy link
Member

webknjaz commented Sep 3, 2024

Hynek also hit this in attrs so I'm pretty sure we messed up and it's a bug..

cc @woodruffw

@hugovk
Copy link
Contributor Author

hugovk commented Sep 3, 2024

Thanks! It worked now:

https://github.com/hugovk/tinytext/actions/runs/10662143946/job/29598679417#step:2:144

@webknjaz
Copy link
Member

webknjaz commented Sep 3, 2024

Wonderful! Thanks for checking! I've cut v1.10.1 and I'm filling out the release notes as we speak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants