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

Commits on Sep 5, 2022

  1. use poetry for build and deps

    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 committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    c44953f View commit details
    Browse the repository at this point in the history
  2. docs: fix mock imports

    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.
    dlech committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    82198a6 View commit details
    Browse the repository at this point in the history
  3. only require typing-extensions for python <3.8

    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 committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    7f9e3e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab2b9ef View commit details
    Browse the repository at this point in the history