-
Notifications
You must be signed in to change notification settings - Fork 22
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
Hatch to manage Python virtualenvs #87
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d9eddd0
package management with hatch
c97bcc7
fix copy/paste typo
ab88b3c
fix typo on John's name
5ecf93c
Update README.md
5b35ac3
alternative bootstrapping options for python/rust
50bee53
Update README.md
74a51fe
use 'hatch' alone in examples, with caveat if not found on PATH
8af19b5
Update README.md
fa17880
Update README.md
5e94928
add test env with matrix of python versions
5040782
update ci/cd tests to use hatch
8879012
unset CONDA_PREFIX before building with maturin
0196977
Update pyproject.toml
1decca5
update readme to reflect tests through py3.11
e26484c
reverted install directions to use `pip` instead of `hatch`
Waidhoferj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,7 @@ | |
name = "y-py" | ||
version = "0.5.4" | ||
rust-version = "1.58" | ||
authors = ["John Waidhofer <[email protected]>", "Kevin Jahns <[email protected]>", "Pierre-Olivier Simonard <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://github.com/y-crdt/ypy" | ||
repository = "https://github.com/y-crdt/ypy" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
[build-system] | ||
requires = ["maturin>=0.13,<0.14"] | ||
build-backend = "maturin" | ||
|
||
[project] | ||
name = "y-py" | ||
version = "0.5.4" | ||
description = "Python bindings for the Y-CRDT built from yrs (Rust)" | ||
authors = [ | ||
{ name = "John Waidhofer", email = "[email protected]" }, | ||
{ name = "Kevin Jahns", email = "[email protected]" }, | ||
{ name = "Pierre-Olivier Simonard", email = "[email protected]" } | ||
] | ||
readme = "README.md" | ||
homepage = "https://github.com/y-crdt/ypy" | ||
repository = "https://github.com/y-crdt/ypy" | ||
dependencies = ["pytest", "maturin"] | ||
|
||
[[tool.hatch.envs.test.matrix]] | ||
python = ["37", "38", "39", "310", "311"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what happens if we try
hatch run test:pytest
here, presumably since there's only one version of Python on the runner then it's effectively the same ashatch run pytest
.