question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Automate pip package release process

See original GitHub issue

Hi @luk6xff,

I’ve been trying to automate pip package release process with GitHub actions, so I woudn’t have to make it myself. Unfortunately this requires me to provide my PyPi credentials (that should remain secret) and I don’t have access to this repository’s settings.

There are two solutions: either you may create a new packt-cli organization on GitHub, give ownership of this repository to this organization and grant me sufficient permissions inside this organization or I may grant you maintainer role of PyPi package, than we’d use your credentials in this repository.

What do you think? Are we going to do this?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
mjenczmykcommented, Dec 10, 2020

Thanks, I can see that https://github.com/luk6xff/Packt-Publishing-Free-Learning is redirecting to the new URL.

Yeah, I use GitLab because I’m not a great fan of Microsoft, but the audience is bigger on the GitHub indeed. I’ll close those issues, in my free time I’ll have a look how to automate the release here - I don’t like to do it manually, git push should be everything I need to release the package 😉

0reactions
luk6xffcommented, Dec 10, 2020

Of course, please close #186 and #200 . Gitlab is good but on github we will have much more visitors and users of the script 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automating Python package release process - Stack Overflow
Automating Python package release process · Test all the things. · Edit mypackage. · Build packages and wheels with python setup.py sdist ...
Read more >
7. Releasing and versioning - Python Packages
To create a release from this tag, click “Draft a new release”. You can then identify the tag from which to create the...
Read more >
Automate Your Python Package Release w/ GitHub Actions
This action starts running once you draft a new release for your repository. There is only one job corresponding to the build and...
Read more >
Publish Package to PyPI and Release Version Automation ...
Publish Package to PyPI and Release Version Automation Using GitHub Actions · 1. Create the API token from PyPI · 2. Add API...
Read more >
7. Releasing your package
The primary venue for releasing Python packages is the Python Package Index ... to process version numbers, your code should follow the standard...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found