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

Switch to correct dependencies #203

Merged
merged 2 commits into from
Jan 10, 2023
Merged

Switch to correct dependencies #203

merged 2 commits into from
Jan 10, 2023

Conversation

dvzrv
Copy link
Contributor

@dvzrv dvzrv commented Jan 9, 2023

Switch to poetry-core as build-system (and remove all unused/unneeded build dependencies).
Add setuptools to dependency of the project, as it is in fact required directly (due to the use of pkg_resources).

pyproject.toml:
Since poetry is used, switch to the build-system setup as documented
upstream (https://python-poetry.org/docs/pyproject#poetry-and-pep-517).
pyproject.toml:
Pkg_resources is used in solid/solidpython.py, hence this project
depends on setuptools until the use of pkg_resources is replaced with
something else.
archlinux-github pushed a commit to archlinux/svntogit-community that referenced this pull request Jan 9, 2023
Switch to using correct dependencies.
Add upstreamed patch to fix build-system and direct dependencies:
SolidCode/SolidPython#203
Use unittest in check() and drop unneeded checkdepends.
Open upstream ticket about missing 1.1.3 tag:
SolidCode/SolidPython#202

git-svn-id: file:https:///srv/repos/svn-community/svn@1382173 9fca08f4-af9d-4005-b8df-a31f2cc04f65
archlinux-github pushed a commit to archlinux/svntogit-community that referenced this pull request Jan 9, 2023
Switch to using correct dependencies.
Add upstreamed patch to fix build-system and direct dependencies:
SolidCode/SolidPython#203
Use unittest in check() and drop unneeded checkdepends.
Open upstream ticket about missing 1.1.3 tag:
SolidCode/SolidPython#202

git-svn-id: file:https:///srv/repos/svn-community/svn@1382173 9fca08f4-af9d-4005-b8df-a31f2cc04f65
@etjones
Copy link
Contributor

etjones commented Jan 9, 2023

Thanks for this! I checked on the Poetry/Setuptools issues sometime in 2021, found the issues were still around, and haven't looked back since. What's the status of building with Poetry & PEP517 builders these days?

@dvzrv
Copy link
Contributor Author

dvzrv commented Jan 9, 2023

What's the status of building with Poetry & PEP517 builders these days?

You can use poetry for that for your own purposes. E.g. poetry build.

In a distribution context we use tooling with a much smaller foodprint (irt dependencies) such as pypa/build and pypa/installer though (see for the current Arch Linux PKGBUILD for further info - also the reason why I did this PR).

@etjones etjones merged commit a6822d5 into SolidCode:master Jan 10, 2023
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.

None yet

2 participants