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

use uv in tox #19871

Merged
merged 4 commits into from
Feb 23, 2024
Merged

use uv in tox #19871

merged 4 commits into from
Feb 23, 2024

Conversation

alangenfeld
Copy link
Member

@alangenfeld alangenfeld commented Feb 16, 2024

Use uv for env setup in tox to improve performance.

How I Tested These Changes

bk

@alangenfeld
Copy link
Member Author

alangenfeld commented Feb 16, 2024

Copy link

github-actions bot commented Feb 16, 2024

Deploy preview for dagster-docs ready!

Preview available at https://dagster-docs-d7l6nfuyi-elementl.vercel.app
https://al-02-16-use-uv-in-tox.dagster.dagster-docs.io

Direct link to changed pages:

@alangenfeld alangenfeld force-pushed the al/02-16-use_uv_in_tox branch 5 times, most recently from 881bbb2 to 2a10a5d Compare February 16, 2024 19:52
@alangenfeld alangenfeld changed the title use uv in tox [WIP] use uv in tox Feb 16, 2024
@alangenfeld alangenfeld force-pushed the al/02-16-use_uv_in_tox branch 3 times, most recently from b59a7b8 to 58a02c6 Compare February 16, 2024 20:36
@alangenfeld
Copy link
Member Author

alangenfeld commented Feb 16, 2024

for uv 0.1.2, currently hitting what I believe some sort of race condition tracked @ astral-sh/uv#1508

@alangenfeld alangenfeld force-pushed the al/02-16-use_uv_in_tox branch 2 times, most recently from 6b68d39 to 2c1dff5 Compare February 20, 2024 23:30
@alangenfeld alangenfeld changed the base branch from master to al/02-21-_docs_remove_run_attribution_python February 21, 2024 22:51
@alangenfeld alangenfeld force-pushed the al/02-16-use_uv_in_tox branch from 2c1dff5 to 0423a1e Compare February 21, 2024 22:52
@alangenfeld alangenfeld force-pushed the al/02-16-use_uv_in_tox branch from 0423a1e to 9bb8de2 Compare February 21, 2024 23:25
Copy link

github-actions bot commented Feb 21, 2024

Deploy preview for dagit-storybook ready!

✅ Preview
https://dagit-storybook-aqmtl56uy-elementl.vercel.app
https://al-02-16-use-uv-in-tox.components-storybook.dagster-docs.io

Built with commit 484dc71.
This pull request is being automatically deployed with vercel-action

@alangenfeld alangenfeld force-pushed the al/02-16-use_uv_in_tox branch 3 times, most recently from f25d007 to 00dc181 Compare February 21, 2024 23:52
@alangenfeld alangenfeld force-pushed the al/02-21-_docs_remove_run_attribution_python branch from 2e833e5 to 0e127b9 Compare February 22, 2024 18:25
@alangenfeld alangenfeld force-pushed the al/02-16-use_uv_in_tox branch from 00dc181 to cf2adcd Compare February 22, 2024 18:25
@alangenfeld alangenfeld changed the base branch from al/02-21-_docs_remove_run_attribution_python to al/syrupy4 February 22, 2024 18:39
@alangenfeld alangenfeld force-pushed the al/02-16-use_uv_in_tox branch from cf2adcd to e01d4bf Compare February 22, 2024 18:39
This was referenced Feb 22, 2024
@alangenfeld alangenfeld changed the title [WIP] use uv in tox use uv in tox Feb 22, 2024
@alangenfeld alangenfeld marked this pull request as ready for review February 22, 2024 18:40
Comment on lines +7 to +8
; version resolution issues prevent using uv
; install_command = uv pip install {opts} {packages}
Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines +7 to +8
; version resolution using uv
; install_command = uv pip install {opts} {packages}
Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines +7 to +8
; dagstermill test errors prevent using uv, require compat mode install
; install_command = uv pip install {opts} {packages}
Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines +7 to +8
; soemthing goes awry with jupyter when using uv
; install_command = uv pip install {opts} {packages}
Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines +10 to +11
; mix of issues prevent use of uv
; install_command = uv pip install {opts} {packages}
Copy link
Member Author

Choose a reason for hiding this comment

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

Comment on lines +8 to +9
; soemthing goes awry with jupyter when using uv
; install_command = uv pip install {opts} {packages}
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

lgtm. "Python Sean" (@smackesey) to stamp

Copy link
Collaborator

@smackesey smackesey left a comment

Choose a reason for hiding this comment

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

Let's merge it and try to fix the special cases over the next week or so. Pretty sure the devs will help us work through the issues.

@alangenfeld alangenfeld force-pushed the al/02-16-use_uv_in_tox branch from 8215804 to 484dc71 Compare February 23, 2024 20:24
Base automatically changed from al/syrupy4 to master February 23, 2024 23:08
@alangenfeld alangenfeld merged commit 059e3cd into master Feb 23, 2024
3 checks passed
@alangenfeld alangenfeld deleted the al/02-16-use_uv_in_tox branch February 23, 2024 23:08
PedramNavid pushed a commit that referenced this pull request Mar 28, 2024
Use uv for env setup in tox to improve performance. 

## How I Tested These Changes

bk
@rexledesma rexledesma mentioned this pull request Aug 7, 2024
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.

3 participants