mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 18:15:58 +03:00
[PR #282] [CLOSED] Fixed bug that makes FBref tests fail #428
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#428
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/probberechts/soccerdata/pull/282
Author: @lorenzodb1
Created: 7/7/2023
Status: ❌ Closed
Base:
master← Head:lorenzodb1-team-season-stats-cache-fix📝 Commits (2)
87b2a59Moved pretty-error to dev dependency and fixed bug making FBref tests fail412172bMoved pretty-error to dev dependency and fixed bug making FBref tests fail📊 Changes
4 files changed (+338 additions, -413 deletions)
View changed files
📝
poetry.lock(+335 -409)📝
pyproject.toml(+2 -2)📝
soccerdata/_config.py(+0 -1)📝
soccerdata/fbref.py(+1 -1)📄 Description
The test failed as it tried to get the length of
itertools.product, which does not have that property.Furthermore, this PR:
pandasto v2.0pretty-errorsto the dev dependencies group, as it would otherwise be installed in repositories importing this library (which should not be the case). I'm not sure I've done this correctly, and I had to remove some imports, so please let me know if this breaks previous behaviour and advise me on what I should do instead.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.