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

nix: parse dependencies from pyproject file #1671

Merged
merged 2 commits into from
Aug 7, 2024
Merged

nix: parse dependencies from pyproject file #1671

merged 2 commits into from
Aug 7, 2024

Conversation

lucc
Copy link
Collaborator

@lucc lucc commented Aug 6, 2024

@pazz this is the result of my comment #1666 (comment) . This makes the nix code a little more complicated but removes the need to specify our dependencies twice. As I know nix quite well I like it but I am unsure if it raises the bar for others to look at the nix code (do we care about that?). What do you think?

@lucc lucc added the deployment label Aug 6, 2024
@lucc lucc added this to the release 0.11 milestone Aug 6, 2024
@lucc lucc self-assigned this Aug 6, 2024
Copy link
Owner

@pazz pazz left a comment

Choose a reason for hiding this comment

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

I think it is a great idea to avoid duplication of the dependencies.
Otherwise inevitably these will diverge and possibly create issues.

Perhaps you could add one larger comment before the affected lines explaining that the following replaces explicit dependencies and instead extracts them from the setuptools config?

@lucc lucc requested a review from pazz August 6, 2024 19:25
@pazz pazz merged commit d51b047 into master Aug 7, 2024
10 checks passed
@lucc lucc deleted the nix-pyproject branch August 7, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants