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

[python] Fix git-lfs issue when cloning Geneformer #1150

Merged
merged 1 commit into from
May 17, 2024

Conversation

ebezzi
Copy link
Member

@ebezzi ebezzi commented May 17, 2024

Attemps to fix an issue caused by git-lfs which is used by Geneformer tests.

@@ -33,7 +33,7 @@ jobs:
run: |
python -m pip install -U pip setuptools wheel
pip install --use-pep517 accumulation-tree # Geneformer dependency needs --use-pep517 for Cython
pip install -r ./api/python/cellxgene_census/scripts/requirements-dev.txt
GIT_CLONE_PROTECTION_ACTIVE=false pip install -r ./api/python/cellxgene_census/scripts/requirements-dev.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this fixes it! Or, at least it doesn't fail to install anymore.

Should this get a link to the issue in git-lfs here, or an issue tracking the removal of this workaround?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking that maybe these tests should not belong here, as the specific dependency is quite obscure (it even points to a specific commit). If we decide to purge them, this won't be needed, otherwise we should definitely create an issue.

Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.12%. Comparing base (aa698f3) to head (bcfbad5).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1150   +/-   ##
=======================================
  Coverage   91.12%   91.12%           
=======================================
  Files          77       77           
  Lines        5857     5857           
=======================================
  Hits         5337     5337           
  Misses        520      520           
Flag Coverage Δ
unittests 91.12% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ivirshup ivirshup self-requested a review May 17, 2024 22:48
@ebezzi ebezzi changed the title [python] Tentative fix git-lfs issue when cloning Geneformer [python] Fix git-lfs issue when cloning Geneformer May 17, 2024
@ebezzi ebezzi merged commit e36addb into main May 17, 2024
14 checks passed
@ebezzi ebezzi deleted the ebezzi/fix-git-lfs-bug branch May 17, 2024 22:49
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.

None yet

2 participants