Skip to content

Conversation

Molkree
Copy link
Contributor

@Molkree Molkree commented Oct 5, 2025

fixes #1595

TODO list for this PR

  • Move doc dependencies to dependency-group:
    [dependency-groups]
    test = ["doc-dep1", "doc-dep2"]
  • update test/test_requirements.py, it expects requirements.txt to be present
  • update how we generate requirements.csv

@Molkree Molkree force-pushed the build/pyproject-toml-config branch 3 times, most recently from 38049df to fbc4a02 Compare October 5, 2025 15:03
Black config was not changed but we have different result compared to main branch
this is because Black determines supported Python versions from pyproject.toml
in absence of the `requires-python` section it is determined on the per file basis
now that we have full-fledged pyproject.toml Black follows our config more strictly
@Molkree Molkree force-pushed the build/pyproject-toml-config branch from fbc4a02 to da38201 Compare October 5, 2025 15:05
now that dev-dependencies were moved to pyproject.toml our old script would no longer work
dropping this means that there might be some short period of time when pre-commit config will be ahead of pyproject.toml but this shouldn't be a big deal
we could rewrite it to update new location but because we now have Dependabot enabled pyproject.toml should stay updated through Dependabot
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.

Moving from setup.py to pyproject.toml
1 participant