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

Switch to PEP 621 project metadata; build sdist and all wheels in CI #237

Merged
merged 8 commits into from
Nov 2, 2023

Commits on Nov 1, 2023

  1. templates/release: procedure updates

    Update Fedora and check that it propagated to the Copr before announcing.
    Also announce to forum.image.sc.
    
    Signed-off-by: Benjamin Gilbert <[email protected]>
    bgilbert committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    e9cc7d5 View commit details
    Browse the repository at this point in the history
  2. workflows: fail on curl error

    7z will fail if given an HTTP error page, so this is only a cleanup.
    
    Signed-off-by: Benjamin Gilbert <[email protected]>
    bgilbert committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ef61785 View commit details
    Browse the repository at this point in the history
  3. Switch to PEP 621 project metadata

    Drop obsolete test_suite and zip_safe settings.  Combine multi-word
    keywords.  Add repo and documentation URLs.
    
    PEP 621 support requires setuptools >= 61.
    
    Closes: openslide#167
    Signed-off-by: Benjamin Gilbert <[email protected]>
    bgilbert committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    b893ba2 View commit details
    Browse the repository at this point in the history
  4. workflows: build with Python build package

    It's the build tool currently recommended by PyPA.  Since it builds in
    a venv, we can stop installing some dependencies.
    
    Signed-off-by: Benjamin Gilbert <[email protected]>
    bgilbert committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    37f6fb9 View commit details
    Browse the repository at this point in the history
  5. workflows: build wheels for Linux and macOS

    The convert module doesn't use any libc APIs, so we can build on any Linux
    distro and auditwheel will tag the wheel as the oldest manylinux.
    
    auditwheel requires setuptools on Python 3.12 for distutils.
    
    Fixes: openslide#126
    Fixes: openslide#187
    Signed-off-by: Benjamin Gilbert <[email protected]>
    bgilbert committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    d6af87d View commit details
    Browse the repository at this point in the history
  6. workflows: generate sdist tarball in CI

    By omitting the `python -m build` -w argument in one job, verify that the
    source tarball can successfully build a wheel.  Use that source tarball in
    releases rather than building it on a developer's machine.
    
    Signed-off-by: Benjamin Gilbert <[email protected]>
    bgilbert committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    3e2c3b5 View commit details
    Browse the repository at this point in the history
  7. pre-commit-config: bump versions

    Signed-off-by: Benjamin Gilbert <[email protected]>
    bgilbert committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    fe10747 View commit details
    Browse the repository at this point in the history
  8. Move isort, pytest, rstcheck configs into pyproject.toml

    pre-commit will not support pyproject.toml, and flake8 doesn't support it
    yet.
    
    Signed-off-by: Benjamin Gilbert <[email protected]>
    bgilbert committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    83b18c7 View commit details
    Browse the repository at this point in the history