-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Deprecate EOL version and centralize information about it #3203
Comments
I'm willing to implement this, just opened it as a place for discussion |
+1 for me |
My first open point for discussion: |
I usually prefer the KISS approach and use |
About the KISS approach: I'm not sure what is the simplest thing.
|
The Python packaging landscape has changed a lot over the last few years. I adopted Poetry rather early in its lifecycle and appreciated how it handled many of the more tedious aspects of Python dependency management and package release publication. Recently, however, I have come to realize that (1) Poetry tries to do too much, and (2) Poetry's path has diverged from the rest of the Python packaging community. The most notable example of the latter is Poetry's pre-existing idiosyncratic syntax in Ergo, I have started to experiment with tools that are designed to support PEP 631, which has since been merged into PEP 621, which is now codified in the above-linked PyPA project metadata specification. I have been experimenting with Hatchling as the build backend and PDM for dependency management. You can see an example of this combination in the Featured Image plugin repo and its So, I think there are two choices to make here:
In the end, other than wanting to choose standards-compliant tooling, I am open-minded regarding both choices. My initial impressions about our options:
Hatch requires using Hatchling as the build backend, while PDM is backend-agnostic and can be used with either Hatchling or Setuptools. So from my perspective, I suppose the choices come down to:
Of course, those are just my impressions based on my experiences so far. If there are other choices we should consider, by all means please share your thoughts. What does everything think? |
I just researched a bit ( and it was quite a rabbit hole). For some reason I would not choose
Hatch is lacking basic management commands , like So currently I would probably lean towards I will first work on the metadata etc |
I would lean towards PDM as the dependency management tool, with hatchling as a possible build system. |
I just learned that PDM can import configuration from other package management tools (such as Poetry), which could save a lot of time and effort. Very cool. 👍 |
Yeah, that was super helpful. I should push my current branch. The only thing left is adding the correct files to the build. But config wise it was 5 min of work. |
I'm curious where it's at, too; I'm going to bed soonish, but I usually get up pretty early in the morning. |
Will push it in an hour or so. |
Pushed the Branch @justinmayer I'm away for the next ~7h will proceed working on that, depending on what is left to do. Todo
|
Many thanks, @lioman. I will take a look, and the results of that review will be waiting for you when you return. 😊 |
Feature Request
As a pelican developer I just want to support current Python versions, so that I have not to test and cover more versions than necessary.
As a pelican user I want to have a quick way to understand, which versions are actually supported.
Description
In PR #3197 there was the proposal to ditch 3.7 as it is EOL. This. Issue tries to achieve the same but also centralize the information about supported versions. Currently, it seems that the version is mentioned at least in these locations:
setup.py
pyproject.toml
docs/contribute.rst
docs/install.rst
docs/quickstart.rst
Proposal
use
pyproject.toml
as the single place to define that information and link it in other places (or ditch them if not needed anymore).The text was updated successfully, but these errors were encountered: