Skip to content

deps: Drop support for python 3.9#3533

Open
FBruzzesi wants to merge 24 commits intomainfrom
deps/bump-py310
Open

deps: Drop support for python 3.9#3533
FBruzzesi wants to merge 24 commits intomainfrom
deps/bump-py310

Conversation

@FBruzzesi
Copy link
Copy Markdown
Member

Description

It's likely that I have missed some branches that could be simplified due to newer python and bumping upstream min versions. Take this as a start to discuss in more detail

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 🔧 Optimization
  • 📝 Documentation
  • ✅ Test
  • 🐳 Other

Related issues

@FBruzzesi FBruzzesi added the dependencies Pull requests that update a dependency file label Apr 4, 2026
@FBruzzesi FBruzzesi marked this pull request as draft April 4, 2026 11:49
@dangotbanned

This comment was marked as outdated.

@FBruzzesi
Copy link
Copy Markdown
Member Author

How would you feel about making the zip_strict -> zip(strict=True) change a follow-up?

Oh man, yes we can do that! In a way that's the largest diff 🤣

RE: typing, do you have any time/willing to take a stab at it?

@dangotbanned

This comment was marked as resolved.

Comment thread narwhals/stable/v1/typing.py Outdated
Comment thread .github/workflows/downstream_tests.yml Outdated
@dangotbanned

This comment was marked as outdated.

@FBruzzesi FBruzzesi marked this pull request as ready for review April 12, 2026 18:43
@dangotbanned dangotbanned self-requested a review April 13, 2026 15:47
Copy link
Copy Markdown
Member

@dangotbanned dangotbanned left a comment

Choose a reason for hiding this comment

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

Thanks @FBruzzesi, really appreciate the slog you've gone through on this one 😍

hungry narwhal

As mentioned on discord, most of the suggestions are about this:

Current:

- zip(...)
+ zip(..., strict=True)

Proposed:

- zip(...)
+ zip(..., strict=False)

We can always make more of them strict later if needed 🙂

Note

zip_strict -> zip(..., strict=True) is all good

Comment thread .github/workflows/downstream_tests.yml Outdated
Comment thread narwhals/_pandas_like/series.py
Comment thread narwhals/_spark_like/expr.py Outdated
Comment thread narwhals/_spark_like/dataframe.py Outdated
Comment thread narwhals/_polars/dataframe.py Outdated
Comment thread narwhals/_dask/expr.py Outdated
Comment thread narwhals/_dask/dataframe.py Outdated
Comment thread narwhals/_dask/dataframe.py Outdated
Comment thread narwhals/_compliant/dataframe.py Outdated
Comment thread tests/conftest.py Outdated
@FBruzzesi
Copy link
Copy Markdown
Member Author

FBruzzesi commented Apr 14, 2026

@MarcoGorelli let me know if you are happy with this.

I am happy to make a release before merging, so that some of the most recent features make it into a version that still support py3.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop support for Python 3.9

2 participants