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

Add [test] and update CONTRIBUTING #848

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

dlwh
Copy link
Contributor

@dlwh dlwh commented Sep 13, 2024

Makes it easier to set up dev env.

Copy link
Owner

@patrick-kidger patrick-kidger left a comment

Choose a reason for hiding this comment

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

This LGTM! I've been meaning to convert this over for a while. Thank you for tweaking this :)

Could you also (a) delete tests/requirements.txt and (b) update https://github.com/patrick-kidger/equinox/blob/main/.github/workflows/run_tests.yml appropriately?

CONTRIBUTING.md Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
@dlwh
Copy link
Contributor Author

dlwh commented Sep 13, 2024

PTAL

@patrick-kidger patrick-kidger merged commit 5a40d2e into patrick-kidger:main Sep 13, 2024
2 checks passed
@patrick-kidger
Copy link
Owner

LGTM! Thanks for the improvement :)

@dlwh
Copy link
Contributor Author

dlwh commented Sep 13, 2024

Of course, I should probably do it in my own projects...

@patrick-kidger patrick-kidger mentioned this pull request Sep 14, 2024
patrick-kidger added a commit that referenced this pull request Sep 14, 2024
@patrick-kidger
Copy link
Owner

Unfortunately I had to revert this one. The problem arises with

python -m pip install -e ".[tests]"
that we don't want to install Equinox itself here. That's already being done for us as a source or wheel distribution. And in fact we can't install Equinox using pip install ., as e.g. its pyproject.toml file may not even be present in the wheel. (In practice the first error was Hatch complaining about the lack of LICENSE file.)

Ah well.

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.

2 participants