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

add workflow for automatic deploy on pypi #408

Closed
wants to merge 2 commits into from

Conversation

mateuslatrova
Copy link
Contributor

With this workflow, whenever we create a new release on GitHub, GitHub Actions will deploy that new release to PyPi

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (55eee29) 89.96% compared to head (b956a57) 89.96%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             next     #408   +/-   ##
=======================================
  Coverage   89.96%   89.96%           
=======================================
  Files           2        2           
  Lines         259      259           
=======================================
  Hits          233      233           
  Misses         26       26           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alan-barzilay alan-barzilay marked this pull request as draft October 25, 2023 17:19
- Deleted old setup files `requirements.txt`, `setup.cfg`, `setup.py`, `MANIFEST.in`
- Added poetry files `poetry.toml`, `pyproject.toml`, `poetry.lock`
- Added `.pyenv-version` and `.tool-versions` for `pyenv` and `asdf`
- Updated `Makefile`, `CONTRIBUTING.rst`, `tox.ini`
name = "pipreqs"
version = "0.4.13"
name = "pipreqs-test"
version = "45.1.47"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way to make it bump the version automattically? poetry can easilly do that on the CLI iirc

steps:
- uses: actions/checkout@v3
- name: Build and publish to pypi
uses: JRubics/[email protected]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what made you choose this action specifically instead of other poetry github actions? like:
https://github.com/marketplace/actions/python-poetry-action
or
https://github.com/marketplace/actions/install-poetry-action

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, JRubics/[email protected], used for building and publishing python packages to pypi, pypi-test or a private wheels repo using poetry. and the two you mentioned here mostly focus on actions installing and configuring poetry.

@alan-barzilay
Copy link
Collaborator

@mateuslatrova can we close this PR if its being worked on #411?

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

Successfully merging this pull request may close these issues.

5 participants