feat: add publish-to-test-pypi.yml - #55
Conversation
|
should it be empty? |
cbf8612 to
777b0dc
Compare
Dexter9532
left a comment
There was a problem hiding this comment.
should be on merge with main not on push
777b0dc to
9cacff7
Compare
|
For this to work, we also need to do the following: We only do it for |
9cacff7 to
b6d771f
Compare
f6795d1 to
5b67ff2
Compare
8506ac6 to
45c0db2
Compare
45c0db2 to
0c3e185
Compare
0c3e185 to
02725ac
Compare
02725ac to
2d5a6b7
Compare
2d5a6b7 to
0c3e185
Compare
b8104ef to
2b516fd
Compare
https://github.com/id8-engineering/python-em511/actions/runs/19363001803 |
9fc6c42 to
41c5080
Compare
1025cd6 to
64991c8
Compare
3f25830 to
762915f
Compare
762915f to
64cc3cf
Compare
64cc3cf to
1ca099f
Compare
|
Some bookkeeping. We had a goal, that on each merge to main we would like to publish to Test PyPi. Ideally without needing to modify the version string, but this does not seem to be possible. PyPi does not allow reuse of filenames with the following contains:
From https://test.pypi.org/help/#file-name-reuse. We can workaround the first two by using There is a lengthy discussion on this topic and attempts at possible workarounds in pypa/packaging-problems#74. Conclusion is we MUST modify the This document is also a good resource on the different version specifiers, https://packaging.python.org/en/latest/specifications/version-specifiers/#version-specifiers. Development releases seem appropriate for our use case, https://packaging.python.org/en/latest/specifications/version-specifiers/#developmental-releases, even though it is discouraged to use a development release on PyPi I think it is fine to use in Test PyPi. @MiladMakdesi @Dexter9532 , let me know if I missed something. |
|
This is not exactly how you described that you wanted it, but is is easier and cleaner! |
Signed-off-by: Milad Makdesi <milad@id8-engineering.io> Signed-off-by: Bobo Bäck Engström <bobo@id8-engineering.io>
|
@Dexter9532, you also need to approve this before we can merge. |
|
Also just an FYI, you can connect a pull-request to a GitHub project and it will also show up on the Kanban board. It is to the menu on the right. I did this for pull-request. It is also good to reference the issue from the pull-request or commit, e.g https://github.com/id8-engineering/lia-2025/issues/11. This will automatically create visible bi directional references. |
No description provided.