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

twine upload: error: the following arguments are required: dist #1058

Open
1 task done
macurandb opened this issue Feb 26, 2024 · 0 comments
Open
1 task done

twine upload: error: the following arguments are required: dist #1058

macurandb opened this issue Feb 26, 2024 · 0 comments
Labels
support Users asking for help using twine

Comments

@macurandb
Copy link

Is there an existing issue for this?

  • I have searched the existing issues (open and closed), and could not find an existing issue

What keywords did you use to search existing issues?

No response

What operating system(s) are you using?

Windows 10, Windows 11, Linux, macOS, Other

If you selected 'Other', describe your Operating System here

Other

What version of Python are you running?

3.11.4

How did you install twine? Did you use your operating system's package manager or pip or something else?

pip install twine

What version of twine do you have installed (include the complete output)

5.0.0

Which package repository are you using?

pypi

Please describe the issue that you are experiencing

I am uploading a package to GCP using Github action but when I tried to execute the command using my laptop (Mac) works properly but in the Github action throw the error

twine upload --repository-url https://gcp-artifactory/project/ -u _json_key -p "CREDENTIALS" ./target/wheels/file.whl

                [-s] [--sign-with SIGN_WITH] [-i IDENTITY] [-u USERNAME]
                [-p PASSWORD] [--non-interactive] [-c COMMENT]
                [--config-file CONFIG_FILE] [--skip-existing]
                [--cert path] [--client-cert path] [--verbose]
                [--disable-progress-bar]
                dist [dist ...]

twine upload: error: the following arguments are required: dist
If the folder is the same, why do I have this issue? Do you have any suggestions on how to solve it?

Please list the steps required to reproduce this behaviour

I didn't have dist folder because I am building a with Maturin a rust library

Please include the PKG-INFO file contents from the artifact you're attempting to upload

I didn't

A redacted version of your .pypirc file

I didn't

Anything else you'd like to mention?

No response

@macurandb macurandb added the support Users asking for help using twine label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Users asking for help using twine
Projects
None yet
Development

No branches or pull requests

1 participant