Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: nox doctests only in Python 3.12 #1222

Merged
merged 3 commits into from
Oct 19, 2024

Conversation

EdAbati
Copy link
Contributor

@EdAbati EdAbati commented Oct 18, 2024

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

  • πŸ’Ύ Refactor
  • ✨ Feature
  • πŸ› Bug Fix
  • πŸ”§ Optimization
  • πŸ“ Documentation
  • βœ… Test
  • 🐳 Other

Related issues

Checklist

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

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

To be consistent with CI #1189 we should just run doctests in Python 3.12 in nox

Comment on lines +585 to +587
>>> func(df_pd) # doctest:+SKIP
>>> func(df_pl) # doctest:+SKIP
>>> func(df_pa) # doctest:+SKIP
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these will create a foo.parquet locally. If we don't want to skip them, I'll add the file to .gitignore

what do you think? :)

Copy link
Member

Choose a reason for hiding this comment

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

I would opt for skipping those! Nice catch πŸ‘Œ

Copy link
Member

@FBruzzesi FBruzzesi left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks @EdAbati 😁

DogHighFiveGIF

Comment on lines +585 to +587
>>> func(df_pd) # doctest:+SKIP
>>> func(df_pl) # doctest:+SKIP
>>> func(df_pa) # doctest:+SKIP
Copy link
Member

Choose a reason for hiding this comment

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

I would opt for skipping those! Nice catch πŸ‘Œ

@MarcoGorelli
Copy link
Member

thanks both!

@MarcoGorelli MarcoGorelli merged commit 59aa483 into narwhals-dev:main Oct 19, 2024
25 checks passed
@EdAbati EdAbati deleted the nox-doctest-only-312 branch October 19, 2024 07:40
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.

3 participants