daywalker90
b969ff3f65
bump setup-python version for pypi workflow
2024-03-08 15:36:11 +01:00
daywalker90
c48278a15e
fix: pypi github workflow does not allow double quotes
2024-03-08 15:36:11 +01:00
Christian Decker
d8f410f2e5
gci: Add build step to PyPI publication
2023-12-29 00:35:45 +01:00
Christian Decker
c7da72cd39
gci: Upload to test.pypi.org only from master
...
Turns out that if we publish from PRs we may end up with versioning
collisions, causing errors. This publishes only from `master` where we
have a linearizable history, and should therefore get unique versions.
Changelog-None
2023-12-15 10:01:57 +10:30
Christian Decker
b6c486c2ba
gha: Add --skip-existing
option to publish to testpypi
...
Changelog-None
2023-12-14 13:03:55 +01:00
Christian Decker
a96e64ed56
chore(CI): Add manually triggerable PyPI publication
...
We used to run the publication on each PR, which could cause conflicts
due to the naming convention being based on the commit history length,
and multiple PRs potentially hitting the same name.
Adding a `workflow_dispatch` trigger allows us to still test the
workflow in PRs but only do so manually (when we're watching anyway).
Changelog-None
2023-12-04 20:22:04 +01:00
Christian Decker
66bf0a7bbb
chore(CI): Increase the timeout to publish to test.pypi.org
2023-12-04 20:22:04 +01:00
Rusty Russell
32b224f6db
Pypi: publish to real repository.
...
Cut & paste bug from test repo section?
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-08-12 12:17:25 +09:30
Shahana Farooqui
c0bb7f0721
lightningd: updating python v3.7 to v3.8
2023-07-20 11:44:46 +09:30
Christian Decker
b81212826f
ci: Add pyln-grpc-proto to auto-publication workflow
2023-07-10 13:47:38 +09:30
Vincenzo Palazzo
ba4f0c8dab
ci: add timeout field to 2h for each task
...
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-03-20 10:43:35 +10:30
Christian Decker
4693803c35
ci: Use the new make upgrade-version target to manage versions
2022-09-22 11:41:11 +02:00
Christian Decker
aace5b51ef
pyln: Adjust the auto-publish task to trigger on tags
...
I was wondering why the workflow never published, turns out we were triggering on
branch pushes only, not tags. So the branch would get pushed, but the tag is pushed
afterwards, and thus not triggering.
2022-09-22 11:41:11 +02:00
Christian Decker
c673c092dc
py: Update the PyPI job to use poetry and correct versions
...
Let's use poetry when we already use it for everything else.
Changelog-None
2022-03-30 06:12:40 +10:30
Christian Decker
24e60055bc
gha: Fix the trigger in the PyPI publication action
2021-10-06 16:18:21 +02:00
Christian Decker
0e987e5ef5
gci: Limit PyPI publication to pull request merged and version tags
2021-09-28 18:34:43 +02:00
Christian Decker
808f582638
gci: Checkout entire history in PyPI build to ensure tags are there
...
setuptools_scm requires the ability to look up the latest tag.
2021-09-28 18:34:43 +02:00
Christian Decker
c4af904342
pyln: Add production publication on tag push
2021-09-28 18:34:43 +02:00
Christian Decker
c8a360b81a
gci: Give PyPI packages a reasonable name
2021-09-28 18:34:43 +02:00
Christian Decker
4fe99d459d
gci: Add workflow to deploy PyPI artifacts
2021-09-28 18:34:43 +02:00