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

@henryx henryx commented Apr 7, 2023

Copy link
Copy Markdown

Fixes issue #25

@henryx henryx changed the title Use PEP518 and Powtry instead requirements.txt and setuptools Use PEP518 and Poetry instead requirements.txt and setuptools Apr 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

henryx commented Apr 7, 2023

Copy link
Copy Markdown
Author

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

@ioggstream ioggstream 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 thread pyproject.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.

@ilovelinux ilovelinux Feb 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 thread pyproject.toml
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]

@CastixGitHub CastixGitHub Aug 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 free to 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