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

ImportError: cannot import name 'clone' from 'datalad_next.patches' #436

Open
yarikoptic opened this issue Oct 6, 2023 · 4 comments
Open

Comments

@yarikoptic
Copy link
Member

Might be an issue with datalad_next, so feel welcome to move accordingly. Initially observed while testing gooey (and only with it) in datalad-extensions. Here is the minimalistic reproducer

#!/bin/bash
set -ex

cd "$(mktemp -d ${TMPDIR:-/tmp}/dl-XXXXXXX)"


d=venvs/dev3; 
python3 -m venv $d && source $d/bin/activate 


python -m pip install --upgrade pip
pip install https://github.com/datalad/datalad/archive/maint.zip
pip install datalad-gooey[devel,test,tests]
pip install pytest pytest-cov pytest-xdist nose vcrpy mock coverage
        
mkdir -p __testhome__
cd __testhome__
python -m pytest -s -v  --cov=datalad --cov=datalad_gooey --pyargs datalad_gooey

running which results in

ERROR  - ImportError: cannot import name 'clone' from 'datalad_next.patches' (/home/yoh/.tmp/dl-BZ3krmd/venvs/dev3/lib/python3.11/site-packages/datalad_ne...
@mih
Copy link
Member

mih commented Oct 6, 2023

This was fixed in 908af59

There was no release since. There are no immediate plans for a release at this point.

@yarikoptic
Copy link
Member Author

but could there be a release? FWIW it is 0.2.0-34-gefde469 now .

yarikoptic added a commit to datalad/datalad-extensions that referenced this issue Nov 1, 2023
@adswa
Copy link
Member

adswa commented Jan 2, 2024

ping #438

@dkp
Copy link

dkp commented Jan 2, 2024

Thank you so much. Let me know if there's anything I can do to test.

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

No branches or pull requests

4 participants