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

use poetry for build and deps #978

Merged
merged 4 commits into from
Sep 5, 2022
Merged

use poetry for build and deps #978

merged 4 commits into from
Sep 5, 2022

Conversation

dlech
Copy link
Collaborator

@dlech dlech commented Sep 4, 2022

This changes the build system from setuptools to poetry. This allows
us to avoid duplicating the package dependencies 3 times and also
include a lock file so that devs are working from the same package
versions.

@dlech dlech force-pushed the poetry branch 3 times, most recently from d19cca9 to 1dfd3a9 Compare September 5, 2022 00:01
This changes the build system from setuptools to poetry. This allows
us to avoid duplicating the package dependencies 3 times and also
include a lock file so that devs are working from the same package
versions.
dlech and others added 3 commits September 4, 2022 19:25
Several dependencies were not added. This is evident when trying to
build the docs without installing main dependencies.

Also simplify and move after imports while we are touching this.
The TypedDict type breaks autodoc mocks in sphinx, so we can avoid the
problem by ensuing that sphinx uses python >=3.8 and only use the
typing-extensions package for python 3.7.
@dlech dlech merged commit 18b29a5 into develop Sep 5, 2022
@dlech dlech deleted the poetry branch September 5, 2022 20:59
@dlech dlech mentioned this pull request Sep 12, 2022
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

Successfully merging this pull request may close these issues.

1 participant