Skip to content

Use PEP518 and Poetry instead requirements.txt and setuptools - #26

Open
henryx wants to merge 5 commits into
par-tec:mainfrom
henryx:henryx-25
Open

Use PEP518 and Poetry instead requirements.txt and setuptools#26
henryx wants to merge 5 commits into
par-tec:mainfrom
henryx:henryx-25

Conversation

@henryx

Copy link
Copy Markdown

Fixes issue #25

@henryxhenryx changed the title Use PEP518 and Powtry instead requirements.txt and setuptoolsUse PEP518 and Poetry instead requirements.txt and setuptoolsApr 7, 2023
@ioggstream

Copy link
Copy Markdown
Contributor

Can you separate the poetry stuff from the rest?

We need to investigate more before switching to poetry, since we had issues with it in the past.

@henryx

Copy link
Copy Markdown
Author

No, because although PEP518 allows you to use other backends, the pyproject.toml has been configured to use Poetry

@ioggstreamioggstream left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we split the pyproject.toml and the poetry stuff?

Comment threadpyproject.toml
"Operating System :: OS Independent",
]
[tool.poetry.dependencies]
python = "^3.11"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@henryx We need to support at least py3.8.

@ilovelinuxilovelinuxFeb 19, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ioggstream consider adding this information somewhere in the README.md

Consider that Python 3.8 already reached EOL: https://endoflife.date/python

Comment threadpyproject.toml
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]

@CastixGitHubCastixGitHubAug 3, 2025

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong section? (a legacy one?)
looked weird and https://python-poetry.org/docs/basic-usage/ uses [project]

Sign up for freeto 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.

4 participants

@henryx@ioggstream@ilovelinux@CastixGitHub