You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While creating an environment on conda-store, I needed to install a proprietary package with pip. I have seen the documentation on here, but it does not cover my scenario. I have my proprietary package in Azure Devops Artifacts which is normally installed with:
To be able to add pip install flags, this will allow to install PIP packages from other repositories in addition tto PYPI, like private repositories on Azure Dev-Ops. At the moment the only ones that can be use are Git or GitLab. PIP install flags wuld allow to use either --extra-index-url or --find-links for packages on a local directory that you an have downloaded previously.
I am happy to help if I get some support to look into the right direction.
The text was updated successfully, but these errors were encountered:
Feature description
#2909
While creating an environment on conda-store, I needed to install a proprietary package with pip. I have seen the documentation on here, but it does not cover my scenario. I have my proprietary package in Azure Devops Artifacts which is normally installed with:
pip install mypackage==x.y.z --index-url https://mypackage:pat_asdf@pkgs.dev.azure.com/{organization}/{project}/_packaging/{mypackage}/pypi/simple/
where:
mypackage is the package name
pat_asdf is a PAT key
{organization} is your organization code in Azure
{project} is you projectname in Azure DevOps
This works fine on Conda, however when I try this on conda-store on nebari I get the following error:
File "/opt/conda/envs/conda-store-server/lib/python3.10/site-packages/packaging/requirements.py", line 37, in init
raise InvalidRequirement(str(e)) from e
packaging.requirements.InvalidRequirement: Expected package name at the start of dependency specifier
--extra-index-url https://mypackage:pat_asdf@pkgs.dev.azure.com/{organization}/{project}/_packaging/{mypackage}/pypi/simple/
^
Value and/or benefit
To be able to add pip install flags, this will allow to install PIP packages from other repositories in addition tto PYPI, like private repositories on Azure Dev-Ops. At the moment the only ones that can be use are Git or GitLab. PIP install flags wuld allow to use either --extra-index-url or --find-links for packages on a local directory that you an have downloaded previously.
I am happy to help if I get some support to look into the right direction.
The text was updated successfully, but these errors were encountered: