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

Moved to pyproject.toml-based configuration with upgraded packages pi… #311

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

maouw
Copy link
Contributor

@maouw maouw commented Mar 12, 2024

This feature moves as much of the project configuration and metadata to pyproject.toml as possible. The purpose of this feature is to simplify package metadata, bring the project in line with current best practices, improve tool compatibility, and make it easier to build on the codebase.

Additionally, this PR:

  • Bumps up dependency versions
  • Pins down the ranges of dependencies to the current major version in order to avoid future breaking changes
  • Reintroduces .flake8 because flake8does not support topyproject.toml`-based configuration
  • Instructs black to support current Python versions specified by Spec 0 (3.10-3.12)
  • Adds Python 3.12 to the GitHub workflows

- Bump up dependency versions
- Pin down the ranges of dependencies to the current major version in order to avoid future breaking changes
- Reintroduce `.flake8` because flake8` does not support to `pyproject.toml`-based configuration
- Instruct `black` to support current Python versions specified by [Spec 0](https://scientific-python.org/specs/spec-0000/) (3.10-3.12)
- Add Python 3.12 to the GitHub workflows
maouw and others added 6 commits March 25, 2024 12:42
This resolves situations where you are building this (for example)
on a mac M1 machine, which builds images that can't be run in linux.
Instead of using the template for this.
Quoted python-version

Co-authored-by: Ariel Rokem <arokem@gmail.com>
@maouw maouw marked this pull request as ready for review March 25, 2024 20:14
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.

2 participants