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

[EPIC] Support for PEP 517 / PEP 566 #1144

Open
1 of 5 tasks
VannTen opened this issue Sep 21, 2022 · 2 comments
Open
1 of 5 tasks

[EPIC] Support for PEP 517 / PEP 566 #1144

VannTen opened this issue Sep 21, 2022 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/user-experience Issues or PRs related to the User Experience of our Services, Tools, and Libraries. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@VannTen
Copy link
Member

VannTen commented Sep 21, 2022

Problem statement

As a Kebechet user and Python developer, I would like to use modern (aka
current) Python packaging standards and have Kebechet use them naturally.
Namely:

High-level Goals

Make use of packaging metadata for operations such as releases.

Proposal description

I need to take more looks at the PEP 517 related stuff before proposing
something. I think we should be able to hook into the build system interface
somehow...

Additional context

Prompted by thoth-station/package-releases-job#659 (comment)
and #1062

thoth-station/core#360 is also relevant because well,
we use kebechet on our packages.

It's conceivable that, should we do that, we might eventually drop other methods, depending on how well PEP 517 adoption in the Python community goes.

Acceptance Criteria

Package dependency locking
How should a lockfile PEP (665 successor) look like?

  • [SPIKE] an adapter for thamos library to support generic lockfile formats and specifically for the new PEP 665 lockfile format.

This needs refinement.
/sig user-experience

@VannTen VannTen added the kind/feature Categorizes issue or PR as related to a new feature. label Sep 21, 2022
@sesheta sesheta added the sig/user-experience Issues or PRs related to the User Experience of our Services, Tools, and Libraries. label Sep 21, 2022
@VannTen VannTen changed the title Use standard python metadata as the primary path (PEP 566) Support for PEP 517 / PEP 566 Sep 21, 2022
@goern goern added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Sep 22, 2022
@codificat codificat moved this to 🆕 New in Planning Board Sep 26, 2022
@VannTen
Copy link
Member Author

VannTen commented Oct 17, 2022

Some (open) questions to see what it should mean to "support PEP 517"

  • how do we support version updating generically (example : setuptools_scm: version == git tag) ?
  • how do handle obtaining the dependencies graph for project using neither Pipfile nor requirements.{in,txt}, without harcoding each format ?
  • ...

@Gkrumbach07 Gkrumbach07 moved this from 🆕 New to 📋 Backlog in Planning Board Oct 18, 2022
@Gkrumbach07
Copy link
Member

/triage accepted

@sesheta sesheta added the triage/accepted Indicates an issue or PR is ready to be actively worked on. label Oct 18, 2022
@Gkrumbach07 Gkrumbach07 changed the title Support for PEP 517 / PEP 566 [EPIC] Support for PEP 517 / PEP 566 Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/user-experience Issues or PRs related to the User Experience of our Services, Tools, and Libraries. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: 📋 Backlog
Development

No branches or pull requests

5 participants