packet-python icon indicating copy to clipboard operation
packet-python copied to clipboard

CI configuration and PIP package automated updates

Open jasmingacic opened this issue 6 years ago • 9 comments

Current PIP package is at version 1.38.2. Also the CI should be configured to run live tests.

jasmingacic avatar Sep 17 '19 19:09 jasmingacic

@mmlb is it possible upgrade the PyPi package to the latest version ?

https://pypi.org/project/packet-python/

I would also be great to fix the CI to ensure you can deploy with confidence 🙂

obynio avatar Oct 04 '19 13:10 obynio

Ah yep, lets see if I can bump the priority on this. I may not get to it until next week. Seems like https://github.com/packethost/packet-python/pull/53 broke master and got in due to missing branch protections. I've fixed the branch protection to require passing ci before merging.

mmlb avatar Oct 04 '19 14:10 mmlb

Oops wrong PR, it was https://github.com/packethost/packet-python/pull/54 @jasmingacic

mmlb avatar Oct 04 '19 14:10 mmlb

@mmlb We added live tests to the SDK so when the CI runs it doesn't have the auth token.

E           packet.baseapi.Error: Error 401: {'error': 'Invalid authentication token'}

jasmingacic avatar Oct 04 '19 19:10 jasmingacic

@obynio pypi is updated. I've renamed this to be about moving forward in the future. I've got some people I'd like to talk to to figure out the live/integration tests in CI. Later will be able to do pypi updates.

mmlb avatar Oct 14 '19 19:10 mmlb

Thank you. I recently made 2 other PR that were merged, do you think it's possible to bump and publish a release to PyPI again @mmlb ?

obynio avatar Oct 16 '19 14:10 obynio

1.41.0 is up on pypi

mmlb avatar Oct 16 '19 14:10 mmlb

Thank you !

obynio avatar Oct 16 '19 23:10 obynio

This seems encouraging:

  • https://docs.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions
  • https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

displague avatar Jul 10 '20 03:07 displague