Skip to content

release: Bump version to 1.38.1#2513

Merged
MarcoGorelli merged 1 commit intomainfrom
bump-version
May 8, 2025
Merged

release: Bump version to 1.38.1#2513
MarcoGorelli merged 1 commit intomainfrom
bump-version

Conversation

@MarcoGorelli
Copy link
Member

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

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

Related issues

  • Related issue #<issue number>
  • Closes #<issue number>

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

If you have comments or can explain your changes, please do so below

from narwhals.utils import maybe_set_index

__version__ = "1.38.0"
__version__ = "1.38.1"
Copy link
Member

Choose a reason for hiding this comment

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

Completely unrelated from this specific release but, should we use:

from importlib import metadata

__version__ = metadata.version(__name__)

to simplify the sync with pyproject.toml?

Copy link
Member Author

Choose a reason for hiding this comment

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

i remember there being some issue with importlib on older python versions, but if we're past those and don't require backports then sure 👍

Comment on lines 30 to 34
```python
>>> import narwhals
>>> narwhals.__version__
'1.38.0'
'1.38.1'
```
Copy link
Member

Choose a reason for hiding this comment

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

This could also be automatically output as other python blocks?

@MarcoGorelli MarcoGorelli marked this pull request as ready for review May 8, 2025 09:48
@MarcoGorelli MarcoGorelli merged commit 42813b4 into main May 8, 2025
40 checks passed
@MarcoGorelli MarcoGorelli deleted the bump-version branch May 8, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants