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 dependency issues leading to failed actions and remove unused code #76

Merged
merged 21 commits into from
Oct 8, 2024

Conversation

paluchasz
Copy link
Collaborator

@paluchasz paluchasz commented Oct 3, 2024

Classic case of new package updates breaking something in dependencies and pip struggling to find versions that satisfy all requirements.

  • Pinned Spacy version as it was problematic (it depends on some package called thinc which was causing dependencies to not resolve for latest versions of spacy). But it also needed to be >3.4.2 to run on Python 3.11, otherwise cannot even import spacy.
  • Pin pre-commit to version <4 as the latest release breaks pre-commits altogether if you are using the docformatter pre-commit. Can't be changed until the following issue gets resolved pre-commit 4.0.0: InvalidManifestError PyCQA/docformatter#289.
  • Remove training code from the repo - this also removes a lot of annoying dependencies like pytorch-lighting which were also causing problems.
  • Scipy remains pinned, as 1.13 has even more breaking changes

@paluchasz paluchasz changed the title dummy change test pre-commit action Oct 3, 2024
@paluchasz paluchasz marked this pull request as ready for review October 7, 2024 09:41
@RichJackson RichJackson self-requested a review October 7, 2024 09:42
@paluchasz paluchasz changed the title test pre-commit action Fix dependency issues leading to failed actions Oct 8, 2024
@paluchasz paluchasz changed the title Fix dependency issues leading to failed actions Fix dependency issues leading to failed actions and remove unused code Oct 8, 2024
@paluchasz paluchasz merged commit 104437b into main Oct 8, 2024
2 checks passed
@paluchasz paluchasz deleted the test_action branch October 8, 2024 12:17
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.

pre-commit 4.0.0: InvalidManifestError
2 participants