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

Consider conda-package-streaming for inspect_package.conda #627

Open
mbargull opened this issue Dec 2, 2022 · 2 comments
Open

Consider conda-package-streaming for inspect_package.conda #627

mbargull opened this issue Dec 2, 2022 · 2 comments

Comments

@mbargull
Copy link
Contributor

mbargull commented Dec 2, 2022

As of version 1.11, binstar_client.inspect_package.conda.inspect_conda_info_dir uses a temporary directory to extract the package metadata.
With conda-package-streaming, we could directly read those data from a stream and avoid the need for tempfile.

At conda-forge we experienced upload failures on Windows (CI on Azure) after updating anaconda-client from 1.8 to 1.11.
This could be tracked down to a permission error whilst inspect_conda_info_dir tried to clean up its tmpdir.
Now, the (yet to be determined) culprit is of course not with anaconda-client but with whatever broke the %TEMP% access.
(For now, we are considering to simply work around it by setting %TEMP% to another path; ref: conda-forge/conda-smithy#1699 .)

But, since conda-package-streaming is already "at hand", it would make sense to use it.

@mbargull
Copy link
Contributor Author

mbargull commented Dec 3, 2022

cc @dholth 'cause conda-package-handling/streaming ;)

@dholth
Copy link

dholth commented Dec 3, 2022

Would be very similar to what standalone conda-index does.

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

2 participants