I'm using poetry as my dependency manager for my python project, I've integrated external dependencies stored in a Git repository hosted on AWS CodeCommit. Since we changed our user management in AWS to SSO I can't use the git dependencies in poetry anymore.
To specify these dependencies in my 'pyproject.toml' file I used the given format explained in the documentation.
[tool.poetry.dependencies]
python = "^3.10"
pandas = "^2.0.3"
mylib = {git = "https://git-codecommit.eu-central-1.amazonaws.com/v1/repos/mylib.git"}
This approach worked fine.
However, we changed our user management in AWS to SSO (Identity Center) and I needed to use the git extension 'git-remote-codecommit' to communicate with my git repos in AWS CodeCommit. But now Iām unable to integrate these external dependencies within Poetry. The heart of the issue lies in the necessity to modify the method by which I invoke and interact with the git repository.
I tried the following:
[tool.poetry.dependencies]
python = "^3.10"
pandas = "^2.0.3"
mylib = {git = "codecommit://my_profile@mylib.git"}
I would be grateful for any assistance.