[GH-ISSUE #150] Remove flake8-plugins from normal dependencies #33

Closed
opened 2026-03-02 15:55:12 +03:00 by kerem · 3 comments
Owner

Originally created by @jerem1e on GitHub (Jan 21, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/150

These dependencies are currently stored in [tool.poetry.dependencies] and [tool.poetry.dev-dependencies]:

flake8-docstrings = "^1.6.0"
flake8-rst-docstrings = "^0.3.0"

They are only needed for development, so they should not be in [tool.poetry.dependencies].

Originally created by @jerem1e on GitHub (Jan 21, 2023). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/150 These dependencies are currently stored in `[tool.poetry.dependencies]` and `[tool.poetry.dev-dependencies]`: ``` flake8-docstrings = "^1.6.0" flake8-rst-docstrings = "^0.3.0" ``` They are only needed for development, so they should not be in `[tool.poetry.dependencies]`.
kerem closed this issue 2026-03-02 15:55:12 +03:00
Author
Owner

@probberechts commented on GitHub (Jan 21, 2023):

Good catch! Thanks.

<!-- gh-comment-id:1399306489 --> @probberechts commented on GitHub (Jan 21, 2023): Good catch! Thanks.
Author
Owner

@jerem1e commented on GitHub (Jan 21, 2023):

Thanks for the quick fix, but
after pulling the changes, I get this error when installing:

Because soccerdata depends on flake8 (^6.0.0) which doesn't match any versions, version solving failed. 

After deleting the poetry.lock file, it was fine so, you might need to delete the poetry.lock file (and reinstall it).

<!-- gh-comment-id:1399307564 --> @jerem1e commented on GitHub (Jan 21, 2023): Thanks for the quick fix, but after pulling the changes, I get this error when installing: ``` Because soccerdata depends on flake8 (^6.0.0) which doesn't match any versions, version solving failed. ``` After deleting the `poetry.lock` file, it was fine so, you might need to delete the `poetry.lock` file (and reinstall it).
Author
Owner

@probberechts commented on GitHub (Jan 21, 2023):

Indeed. I did not think about that. It should be resolved with f8ad944.

<!-- gh-comment-id:1399308850 --> @probberechts commented on GitHub (Jan 21, 2023): Indeed. I did not think about that. It should be resolved with [f8ad944](https://github.com/probberechts/soccerdata/commit/f8ad944a4efe35a07fdb7f52d8b9e7dfe8d6ffe2).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#33
No description provided.