-
Notifications
You must be signed in to change notification settings - Fork 2
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
pip config updated as global.index-url
#6
Comments
Arguably, Is the |
The pip functionality is useful for me, actually, but right now it actually is breaking me. Here is my use case. I depend on multiple packages from the public PyPI and from my private PyPI stored in CodeArtifact. My applications are serverless applications running in AWS Lambda. So when I am developing locally, I use After I run In addition, in my CI/CD pipeline I build Lamba layer packages. I do this by first running TL;DR: |
Thanks for the detailed write-up! Are the packages that are not in your CodeArtifact repository in another private repository? For public packages, wouldn't having PyPI as an upstream repository for your private CodeArtifact repository suffice? Sorry, just trying to make sure I fully understand your use-case. For the CI/CD use-case, are you exporting with If you still think setting the |
I could have PyPI as an upstream for my private CodeArtifact, but I don't really need the extra setup to do that because I can just hit PyPI directly and my private CodeArtifact directly. I can use It seems like if I do the |
In that case, I'd make it optional and not configure I can do it sometime this weekend. Alternatively, if you want to have a go at it, let me know. |
I think that will work. I just ran a test where I run Unfortunately, I don't have time to work on this right now. I have a working setup so it's no big rush. I appreciate your help and responsiveness. |
0.3 should address this. Any issues, let me know! |
While I don't fully understand the long thread I'm linking to here, it seems germane regarding how This isn't a For this reason, putting |
When I run
partifact login my-repo
my global pip configuration gets updated withindex-url
. Whenever I try to pip install if I have packages that are in a different index then pip can't find them.index-url
becomes the default package instead of pypi.Would it make more sense for partifact to update the
global.extra-index-url
config instead ofglobal.index-url
to allow it to work with multiple sources?The text was updated successfully, but these errors were encountered: