-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch from `poetry` to `uv` * Use Python 3.12 * Some more adjustments for `uv` * Polish * uv in workflows (#107) * Fix openrewrite-remote package name * Disable tests for now * Polish * Try to disable `comment-pr.yml` * Polish * Disable `receive-pr` workflow again * Update `README.md` a bit --------- Co-authored-by: Kyle Scully <[email protected]>
- Loading branch information
1 parent
8ec4473
commit 27c6407
Showing
12 changed files
with
413 additions
and
496 deletions.
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
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
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 |
---|---|---|
|
@@ -3,4 +3,6 @@ build/ | |
out/ | ||
bin/ | ||
example-data/ | ||
.idea/ | ||
.idea/ | ||
|
||
.DS_Store |
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 |
---|---|---|
|
@@ -18,20 +18,20 @@ In the setup described here it is at the time of writing important that the GitH | |
mkdir -p ~/git/moderneinc && gh repo clone moderneinc/rewrite-remote ~/git/moderneinc/rewrite-remote | ||
mkdir -p ~/git/openrewrite && gh repo clone openrewrite/rewrite-python ~/git/openrewrite/rewrite-python | ||
``` | ||
2. Make sure Python 3.8 and Poetry are installed | ||
2. Make sure Python 3.12 and Uv are installed | ||
```shell | ||
brew install [email protected] | ||
brew install poetry | ||
brew install uv | ||
uv install python | ||
``` | ||
3. Create a Python virtual environment (here we are going to use `~/.venv` but any directory works) and activate it | ||
```shell | ||
python3.8 -m venv ~/.venv | ||
un sync --all-extras | ||
source ~/.venv/bin/activate | ||
``` | ||
4. Switch to `moderneinc/rewrite-remote/python` and install all dependencies using Poetry | ||
4. Switch to `moderneinc/rewrite-remote/python` and install all dependencies using Uv | ||
```shell | ||
cd ~/git/moderneinc/rewrite-remote/python/rewrite-remote-test | ||
poetry install | ||
uv build | ||
``` | ||
5. Open `~/git/openrewrite/rewrite-python/rewrite` in IDEA (or PyCharm) | ||
```shell | ||
|
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 +1 @@ | ||
3.12 | ||
3.12 |
Oops, something went wrong.