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

build: replace poetry with setup.py #95

Merged
merged 1 commit into from
Sep 30, 2023
Merged

Conversation

maxmouchet
Copy link
Member

@maxmouchet maxmouchet commented Sep 30, 2023

Running poetry install on macOS (and potentially other platforms) fails with the following error:

Installing the current project: diamond-miner (1.0.3)
Failed to install .../dioptra-io/diamond-miner

As @SaiedKazemi pointed out, removing the following section from the pyproject.toml fixes the issue:

[project]
requires-python = ">=3.10"

However poetry now seems to fail to package the native extensions built with Cython.

Let's get rid of poetry, Cython extensions have never really been supported and we already had to fix similar issues in the past.

@maxmouchet maxmouchet force-pushed the max/fix-poetry-build branch 2 times, most recently from e4cee70 to 6492f7f Compare September 30, 2023 10:54
@maxmouchet maxmouchet changed the title pyproject: fix poetry build build: replace poetry with setup.py Sep 30, 2023
@maxmouchet maxmouchet force-pushed the max/fix-poetry-build branch 2 times, most recently from 976755e to ce5b205 Compare September 30, 2023 11:13
@codecov
Copy link

codecov bot commented Sep 30, 2023

Codecov Report

All modified lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

@maxmouchet maxmouchet merged commit e38b172 into main Sep 30, 2023
4 checks passed
@maxmouchet maxmouchet deleted the max/fix-poetry-build branch September 30, 2023 11:56
maxmouchet added a commit that referenced this pull request Oct 27, 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

1 participant