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

Fix inconsistency in pick_fastest, add deprecation warning for future behavior change #476

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

Casper-Guo
Copy link
Contributor

@Casper-Guo Casper-Guo commented Nov 7, 2023

Reference: #472

Handle the uncaught exception. The same empty lap object will be returned regardless of the value of by_time_only

fastf1/core.py Show resolved Hide resolved
fastf1/core.py Outdated Show resolved Hide resolved
@theOehrly
Copy link
Owner

theOehrly commented Nov 8, 2023

I have no idea why or rather how the tests partially failed. But I'm pretty sure that it's not your fault 😅

edit: I mostly figured it out. It's a combination of Ergast being unreliable and GitHub's caching in actions being really annoying sometimes.

@theOehrly theOehrly merged commit aef3668 into theOehrly:master Nov 9, 2023
8 checks passed
@Casper-Guo Casper-Guo deleted the fix-pick-fastest branch November 9, 2023 21:01
theOehrly pushed a commit that referenced this pull request Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants