#194 [Hack-half] Python %pyproject macros
Closed: Resolved 4 years ago by riecatnor. Opened 4 years ago by churchyard.

= Questions/Requested Information

  1. What is your proposal?

More and more Python projects are moving to PEP 517 and PEP 518 pyproject.toml style of creating their packages. As Fedora, we need to adapt our Python macros.

  • macro to build a wheel
  • macro to install that wheel
  • macro to generate buildrequires

See also bug 1685582.

  1. Who in addition to the speaker needs to be in the room for this to succeed? This could be the audience you need to reach, other participants in the conversation, or other stakeholders.

List each person by their name and FAS ID, as shown below:

Must:

Nice to have:

  1. Is this a FAD/Hackfest that lasts a half-day

  2. Anything else we need to know?

No need for a projector.

  1. Who are you?
  • Name: Miro Hrončok
  • FAS ID: @churchyard
  • IRC Nick, if not FAS ID: mhroncok

Yeah, this is starting to become a problem... And if more projects adopt tools like Poetry or Flit for Python packaging, it's going to become more of a pain...

@mcepl You will likely be interested in this.

Yes, if this happens I'll definitely come!

I'm inclined to vote to accept this because of all of you saying you'll be there, but I'm unsure of the intended outcome -- is it updated guidelines, or is it for people to be more informed, or is it to sit down together and actually craft these macros, or... something else?

We already have some provisional draft of the macros in https://src.fedoraproject.org/rpms/pyproject-rpm-macros

We need to sit down and:

  • test the usage on various Python packages, evaluate the UX and change the API if needed
  • brainstorm and hack on improvements (such as dynamic buildrequires for runtime dependencies (needed for tests, but not trivial to figure out))
  • propose new guidelines based on the above (doesn't necessary need to happen there, we can just take notes and do that later)

After this happens, I plan to inform people online via standard channels (such as mailing lists).

What this is not: come and learn about the new macros

The abstract is correct. I suggest appending my previous comment.

Metadata Update from @mattdm:
- Issue assigned to mattdm

4 years ago

Metadata Update from @mattdm:
- Issue marked as blocking: #223
- Issue tagged with: Talk Accepted

4 years ago

Metadata Update from @riecatnor:
- Issue close_status updated to: Resolved
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata