I'm supportive of this CEP.  And thanks for all the maintenance on this
over the years!

Knowing nothing about the pypi release/publish process, I'm curious how you
would stage and then publish the signed convenience package.  Background:
what we publish post-release-vote needs to be signed and identical to what
is staged when the release vote starts. See the two
scripts prepare_release.sh and finish_release.sh in
https://github.com/apache/cassandra-builds/tree/trunk/cassandra-release ,
where all the packaging is done in prepare_ and finish_ is just about
pushing what's in staging to the correct public locations.  I am assuming
that the CEP would be patching these two files, as well as adding files
in-tree to the pylib/ directory


On Wed, 9 Aug 2023 at 18:18, Brad <bscho...@gmail.com> wrote:

>
> As per the CEP process guidelines, I'm starting a formal DISCUSS thread to
> resume the conversation started here[1].
>
> The developers who maintain the Python CQLSH client on the official Python
> PYPI repository would like to integrate and donate their open source work
> to the Apache Cassandra project so it can be more tightly and seamlessly
> integrated.
>
> The Apache Cassandra project pre-dates the adoption in Python 3.4 of PyPI
> as the default package manager. As a result, an unofficial distribution has
> been provided by a group of developers who have maintained the repository
> there since October 2013.
>
> The installable version of CQLSH on PyPI.org allows end users to install a
> cqlsh client with PIP - no tarball or path setup required. I.e.,
>
>           $ pip install cqlsh
>
> This popular package has 50K downloads per month and is today maintained
> by Jeff Wideman and Brad Schoening. The PYPI package is updated upon every
> major release by simply repackaging the CQLSH that ships with every
> Cassandra release.
>
> CQLSH PyPI Repository:  https://pypi.org/project/cqlsh/
> <https://urldefense.com/v3/__https://pypi.org/project/cqlsh/__;!!PbtH5S7Ebw!Zlneg-wAg-i69cUOjOGZ2sppmSq0Yofe9AaPf2BZgtNQ-gfBVWCT8Wem23iAhpBrf4fXNyehbeJCLwQ$>
>
>
> This CEP Proposal suggests incorporating PYPI as a regular part of the
> Cassandra release process and making the CQLSH project on PYPI an official
> distribution point.
>
> The full CEP can be reviewed at:
>
> Wiki: CEP-35: Add PIP support for CQLSH
> <https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=263425995>
> .
>
> Jira: CASSANDRA-18654
> <https://issues.apache.org/jira/browse/CASSANDRA-18654>
>
>
> But in brief, the proposal will:
>
>    - Add PyPI.org as an official distribution point for CQLSH
>    - Allow end users to install CQLSH with simply 'pip install cqlsh' on
>    MacOS, Windows and Linux platforms.
>    - Donate the modest amount of existing configuration files by the
>    authors to Apache Cassandra
>    - This only involves the Python CQLSH client, no changes to
>    distribution of Java server side code and tools are involved.
>
> We welcome further discussion and suggestions regarding this proposal on
> the  mailing list here.
>
> Regards,
>
> Jeff Widman &
> Brad Schoening
>
> [1] https://lists.apache.org/thread/sy3p2b2tncg1bk6x3r0r60y10dm6l18d
> <https://lists.apache.org/thread.html/ra7caa1dd42ccaa04bcabfbc33233995c125c655f9a3cdb2c7bd8e9f7%40%3Cdev.cassandra.apache.org%3E>
>

Reply via email to