[jira] [Comment Edited] (THRIFT-5688) Publish python package to pypi for recent releases
[ https://issues.apache.org/jira/browse/THRIFT-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816690#comment-17816690 ] Yuxuan Wang edited comment on THRIFT-5688 at 2/12/24 6:23 PM: -- I don't think things published to test.pypi.org should be considered "releases". The nature of pypi.org is that you only publish there when you actually releases, so you don't really have a chance to test your release process to make sure that it works, so they provided test.pypi.org as a way for you to test your publishing process before doing them for real (so you don't have to release something, found out that the release didn't work as expected, and need to immediately release a new patch version and in hope that this works). Any page under test.pypi.org also always have a big warning banner at the top says "You are using TestPyPI – a separate instance of the Python Package Index that allows you to try distribution tools and processes without affecting the real index.", and they mentioned somewhere in their doc that the DB for test.pypi.org will be pruned periodically. was (Author: fishywang): I don't think things published to test.pypi.org are considered "releases". The nature of pypi.org is that you only publish there when you actually releases, so you don't really have a chance to test your release process to make sure that it works, so they provided test.pypi.org as a way for you to test your publishing process before doing them for real (so you don't have to release something, found out that the release didn't work as expected, and need to immediately release a new patch version and in hope that this works). Any page under test.pypi.org also always have a big warning banner at the top says "You are using TestPyPI – a separate instance of the Python Package Index that allows you to try distribution tools and processes without affecting the real index.", and they mentioned somewhere in their doc that the DB for test.pypi.org will be pruned periodically. > Publish python package to pypi for recent releases > -- > > Key: THRIFT-5688 > URL: https://issues.apache.org/jira/browse/THRIFT-5688 > Project: Thrift > Issue Type: Bug > Components: Python - Library >Affects Versions: 0.17.0, 0.18.0, 0.18.1 >Reporter: Yuxuan Wang >Assignee: Yuxuan Wang >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > Currently the latest version published to pypi is 0.16.0: > https://pypi.org/project/thrift/#history > We probably should update the release runbook regarding this step, and also > publish 0.17.0, 0.18.0 and 0.18.1 to pypi. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (THRIFT-5688) Publish python package to pypi for recent releases
[ https://issues.apache.org/jira/browse/THRIFT-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816396#comment-17816396 ] Jens Geyer edited comment on THRIFT-5688 at 2/11/24 11:55 AM: -- > thrift-test 0.21.0 To prevent conflicts I want to emphasize this [https://www.apache.org/legal/release-policy.html#policy] was (Author: jensg): > thrift-test 0.21.0 Top prevent conflicts I want to emphasize this [https://www.apache.org/legal/release-policy.html#policy] > Publish python package to pypi for recent releases > -- > > Key: THRIFT-5688 > URL: https://issues.apache.org/jira/browse/THRIFT-5688 > Project: Thrift > Issue Type: Bug > Components: Python - Library >Affects Versions: 0.17.0, 0.18.0, 0.18.1 >Reporter: Yuxuan Wang >Assignee: Yuxuan Wang >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > Currently the latest version published to pypi is 0.16.0: > https://pypi.org/project/thrift/#history > We probably should update the release runbook regarding this step, and also > publish 0.17.0, 0.18.0 and 0.18.1 to pypi. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (THRIFT-5688) Publish python package to pypi for recent releases
[ https://issues.apache.org/jira/browse/THRIFT-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17815464#comment-17815464 ] Yuxuan Wang edited comment on THRIFT-5688 at 2/8/24 7:42 PM: - OK, I'm testing with https://github.com/apache/thrift/pull/2927, which published to https://test.pypi.org/project/thrift-test/. People can test that with {code:java} pip install -i https://test.pypi.org/simple/ thrift-test {code} -I _think_ this version only publishes pure python package (does not include any fastbinary c extensions), so there might be some performance issues, but it should be a good start.- My understanding is the c extension is built when you pip install it so it's not needed when publishing to pypi. this should be good enough. was (Author: fishywang): OK, I'm testing with https://github.com/apache/thrift/pull/2927, which published to https://test.pypi.org/project/thrift-test/. People can test that with {code:java} pip install -i https://test.pypi.org/simple/ thrift-test {code} I _think_ this version only publishes pure python package (does not include any fastbinary c extensions), so there might be some performance issues, but it should be a good start. > Publish python package to pypi for recent releases > -- > > Key: THRIFT-5688 > URL: https://issues.apache.org/jira/browse/THRIFT-5688 > Project: Thrift > Issue Type: Bug > Components: Python - Library >Affects Versions: 0.17.0, 0.18.0, 0.18.1 >Reporter: Yuxuan Wang >Assignee: Yuxuan Wang >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > Currently the latest version published to pypi is 0.16.0: > https://pypi.org/project/thrift/#history > We probably should update the release runbook regarding this step, and also > publish 0.17.0, 0.18.0 and 0.18.1 to pypi. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (THRIFT-5688) Publish python package to pypi for recent releases
[ https://issues.apache.org/jira/browse/THRIFT-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17787932#comment-17787932 ] Jens Geyer edited comment on THRIFT-5688 at 11/20/23 10:28 AM: --- In theory yes. In practice, nobody of the py guys (I'm not one of them) from the PMC does it. No idea why. was (Author: jensg): In theory yes. In practice, nobody of the py guys (I'm not one of them) does it. No idea why. > Publish python package to pypi for recent releases > -- > > Key: THRIFT-5688 > URL: https://issues.apache.org/jira/browse/THRIFT-5688 > Project: Thrift > Issue Type: Bug > Components: Python - Library >Affects Versions: 0.17.0, 0.18.0, 0.18.1 >Reporter: Yuxuan Wang >Assignee: James E. King III >Priority: Major > > Currently the latest version published to pypi is 0.16.0: > https://pypi.org/project/thrift/#history > We probably should update the release runbook regarding this step, and also > publish 0.17.0, 0.18.0 and 0.18.1 to pypi. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (THRIFT-5688) Publish python package to pypi for recent releases
[ https://issues.apache.org/jira/browse/THRIFT-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17695525#comment-17695525 ] Jens Geyer edited comment on THRIFT-5688 at 3/2/23 7:47 AM: [~jking3]has the keys . Can't do, sorry. was (Author: jensg): @jking3 has the keys . Can't do, sorry. > Publish python package to pypi for recent releases > -- > > Key: THRIFT-5688 > URL: https://issues.apache.org/jira/browse/THRIFT-5688 > Project: Thrift > Issue Type: Bug > Components: Python - Library >Affects Versions: 0.17.0, 0.18.0, 0.18.1 >Reporter: Yuxuan Wang >Priority: Major > > Currently the latest version published to pypi is 0.16.0: > https://pypi.org/project/thrift/#history > We probably should update the release runbook regarding this step, and also > publish 0.17.0, 0.18.0 and 0.18.1 to pypi. -- This message was sent by Atlassian Jira (v8.20.10#820010)