Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Pype 3: Use Poetry #958

Merged
merged 24 commits into from
Feb 4, 2021
Merged

Pype 3: Use Poetry #958

merged 24 commits into from
Feb 4, 2021

Conversation

antirotor
Copy link
Member

@antirotor antirotor commented Feb 1, 2021

Feature

Switch dependency a virtual environment management to Poetry. This has many advantages:

  • multiplatform dependency support (even for git repositories)
  • multiple python versions in virtual env
  • developer and distribution separated dependencies

Close #943

@antirotor antirotor added the type: enhancement Enhancements to existing functionality label Feb 1, 2021
@antirotor antirotor self-assigned this Feb 2, 2021
@antirotor
Copy link
Member Author

This already has #943 merged in and switched to Poetry

@antirotor antirotor marked this pull request as ready for review February 2, 2021 17:55

# Set new PYTHONPATH to launch context environments
self.launch_context.env["PYTHONPATH"] = os.pathsep.join(python_paths)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank line at end of file
blank line contains whitespace

@mkolar
Copy link
Member

mkolar commented Feb 4, 2021

Looking very good.

To make this complete we need to add better handling of python 2 environments. But that can be done in a separate PR

@mkolar mkolar added this to the 3.0 milestone Feb 4, 2021
@mkolar mkolar self-requested a review February 4, 2021 10:39
@mkolar mkolar merged commit 0de7606 into develop Feb 4, 2021
@nextreleaseio nextreleaseio bot mentioned this pull request Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants