Skip to content

Update cassandra driver specification for various python versions - #61685

Merged
shahar1 merged 1 commit into
apache:mainfrom
potiuk:update-cassandra-spec
Feb 10, 2026
Merged

Update cassandra driver specification for various python versions#61685
shahar1 merged 1 commit into
apache:mainfrom
potiuk:update-cassandra-spec

Conversation

@potiuk

Copy link
Copy Markdown
Member

The official cassandra driver Python version support was not exactly in line with the version support - this PR adds proper version support. We still cannot remove setuptools limitation before the minimum version of cassandra driver supports it - but at least all the versions will use .whl distributions - which will make image builds and CI a bit faster.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@Dev-iL

Copy link
Copy Markdown
Collaborator

Should we run this for <all versions>?

@gopidesupavangopidesupavan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice..

@potiuk

Copy link
Copy Markdown
MemberAuthor

Should we run this for ?

Oh ... absolutely .. good call :)

@potiukpotiuk added the all versions If set, the CI build will be forced to use all versions of Python/K8S/DBs label Feb 9, 2026
The official cassandra driver Python version support was not exactly
in line with the version support - this PR adds proper version
support. We still cannot remove setuptools limitation before the
minimum version of cassandra driver supports it - but at least
all the versions will use .whl distributions - which will make
image builds and CI a bit faster.
@potiuk
potiukforce-pushed the update-cassandra-spec branch from 76bf413 to d053edcCompareFebruary 9, 2026 20:44
@jscheffljscheffl mentioned this pull request Feb 9, 2026
@shahar1
shahar1 merged commit c7f4814 into apache:mainFeb 10, 2026
161 checks passed
potiuk added a commit to potiuk/airflow that referenced this pull request Feb 10, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
@potiukpotiuk mentioned this pull request Feb 10, 2026
1 task
eladkal pushed a commit that referenced this pull request Feb 10, 2026
Follow-up after #61666 and #61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
Alok-kumar-priyadarshi pushed a commit to Alok-kumar-priyadarshi/airflow that referenced this pull request Feb 11, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
Ratasa143 pushed a commit to Ratasa143/airflow that referenced this pull request Feb 15, 2026
…ache#61685)
The official cassandra driver Python version support was not exactly
in line with the version support - this PR adds proper version
support. We still cannot remove setuptools limitation before the
minimum version of cassandra driver supports it - but at least
all the versions will use .whl distributions - which will make
image builds and CI a bit faster.
Ratasa143 pushed a commit to Ratasa143/airflow that referenced this pull request Feb 15, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
choo121600 pushed a commit to choo121600/airflow that referenced this pull request Feb 22, 2026
…ache#61685)
The official cassandra driver Python version support was not exactly
in line with the version support - this PR adds proper version
support. We still cannot remove setuptools limitation before the
minimum version of cassandra driver supports it - but at least
all the versions will use .whl distributions - which will make
image builds and CI a bit faster.
choo121600 pushed a commit to choo121600/airflow that referenced this pull request Feb 22, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
AkshayArali pushed a commit to AkshayArali/airflow_630 that referenced this pull request Feb 27, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
AkshayArali pushed a commit to AkshayArali/airflow_630 that referenced this pull request Feb 27, 2026
…ache#61685)
The official cassandra driver Python version support was not exactly
in line with the version support - this PR adds proper version
support. We still cannot remove setuptools limitation before the
minimum version of cassandra driver supports it - but at least
all the versions will use .whl distributions - which will make
image builds and CI a bit faster.
AkshayArali pushed a commit to AkshayArali/airflow_630 that referenced this pull request Feb 27, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Mar 4, 2026
…ache#61685)
The official cassandra driver Python version support was not exactly
in line with the version support - this PR adds proper version
support. We still cannot remove setuptools limitation before the
minimum version of cassandra driver supports it - but at least
all the versions will use .whl distributions - which will make
image builds and CI a bit faster.
Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Mar 4, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
dominikhei pushed a commit to dominikhei/airflow that referenced this pull request Mar 11, 2026
…ache#61685)
The official cassandra driver Python version support was not exactly
in line with the version support - this PR adds proper version
support. We still cannot remove setuptools limitation before the
minimum version of cassandra driver supports it - but at least
all the versions will use .whl distributions - which will make
image builds and CI a bit faster.
dominikhei pushed a commit to dominikhei/airflow that referenced this pull request Mar 11, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
Ankurdeewan pushed a commit to Ankurdeewan/airflow that referenced this pull request Mar 15, 2026
…ache#61685)
The official cassandra driver Python version support was not exactly
in line with the version support - this PR adds proper version
support. We still cannot remove setuptools limitation before the
minimum version of cassandra driver supports it - but at least
all the versions will use .whl distributions - which will make
image builds and CI a bit faster.
Ankurdeewan pushed a commit to Ankurdeewan/airflow that referenced this pull request Mar 15, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
radhwene pushed a commit to radhwene/airflow that referenced this pull request Mar 21, 2026
…ache#61685)
The official cassandra driver Python version support was not exactly
in line with the version support - this PR adds proper version
support. We still cannot remove setuptools limitation before the
minimum version of cassandra driver supports it - but at least
all the versions will use .whl distributions - which will make
image builds and CI a bit faster.
radhwene pushed a commit to radhwene/airflow that referenced this pull request Mar 21, 2026
Follow-up after apache#61666 and apache#61685 - there are two small things to
fix:
* setuptools limit is not effective, because it is not taken
into account when cassandra driver is built from sdist (which
happens if the driver does not have wheels published for python
version it is installed on). All the tools are using build
isolation by default when installing sdist-build packages so the
version specified in dependencies does not matter in this case -
so We should remove it.
* the specification for >= 3.29.2 that limits the driver to versions
that have wheels for relevant python versions was ambiguous
>= 3.29.1 - both applied to `<3.13`. We needed to add >= as well
to make sure that the ranges are not overlapping. Not a big
issue because in this case resolver will handle it well, but it
is still not exactly correct.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

all versionsIf set, the CI build will be forced to use all versions of Python/K8S/DBsarea:providerskind:documentationprovider:apache-cassandra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@potiuk@Dev-iL@gopidesupavan@jscheffl@shahar1