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

Switch collection hook to use pathlib paths #203

Merged
merged 8 commits into from
Mar 4, 2024

Conversation

takluyver
Copy link
Member

Closes #202.

I've done this the simple way, which requires pytest >= 7. Pytest 7 came out over 2 years ago (February 2022), so I think it's reasonable for a new version of nbval to drop support for older versions.

@takluyver takluyver added the bug label Mar 4, 2024
@takluyver
Copy link
Member Author

I stuffed some fixes for CI & docs into this pull request; I was too lazy to create separate branches and PRs for them. Stuff does bitrot if it's not touched for a while...

@brichet
Copy link

brichet commented Mar 4, 2024

Thanks @takluyver, I successfully tested this PR on nbgrader.

@takluyver
Copy link
Member Author

Thanks for checking! I'll tag a new version, it should get released to PyPI automatically.

@takluyver takluyver merged commit 9573ef0 into master Mar 4, 2024
12 checks passed
@takluyver takluyver deleted the pytest-collect-pathlib branch March 4, 2024 14:33
@mattwthompson
Copy link

Thanks for the crazy-fast turnaround on this patch

I tried to pre-empt the bot to get this into conda world as well: conda-forge/nbval-feedstock#15

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.

pytest 8.1.0 breaks nbval 0.10.0
3 participants