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

Merge setup.cfg into pyproject.toml #157

Closed
11 of 12 tasks
Tracked by #175 ...
redeboer opened this issue Jul 11, 2023 · 0 comments · Fixed by #184, ComPWA/actions#32, ComPWA/ampform#358, ComPWA/ampform-dpd#79 or ComPWA/benchmarks#18
Closed
11 of 12 tasks
Tracked by #175 ...
Assignees
Labels
🔨 Maintenance Maintenance and upkeep improvements

Comments

@redeboer
Copy link
Member

redeboer commented Jul 11, 2023

ComPWA/polarimetry#309 has shown that a pyproject.toml with pinned constraint files works quite well. As a follow-up to #98, we could consider merging all setup.cfg files into pyproject.toml as well to further reduce the number of configuration files. As shown in ComPWA/polarimetry#309, optional dependencies can be defined by repeating the package name instead of using the %(dev)s syntax, e.g. polarimetry[dev].

One disadvantage: editable installs with pyproject.toml are only supported since pip v23.1 (2021-10-11), see PEP 660. Another is that Python 3.6 requires setup.cfg.

Related issues

  1. 🔨 Maintenance
    redeboer
  2. 1 of 4
    ✨ Feature 🖱️ DX
    redeboer

Implementation

  1. ✨ Feature ❗ Behavior
    redeboer
  2. 🔨 Maintenance
    redeboer
  3. 🔨 Maintenance
    redeboer
  4. 🔨 Maintenance
    redeboer
  5. 🔨 Maintenance
    redeboer
  6. 🔨 Maintenance
    redeboer
  7. 🔨 Maintenance
    redeboer
  8. 🔨 Maintenance
    redeboer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment