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

[Tuesday july 2 merge] Fix: update hatch install instructions #308

Merged
merged 6 commits into from
Jul 3, 2024

Conversation

lwasser
Copy link
Member

@lwasser lwasser commented Jun 26, 2024

closes #301 #271 #265 #260

Wow we have a lot of issues open related to pipx and installing Hatch. this Pr should close all of them. it's possible i've missed some however so please link to this pr if you review and know of another issue!

this pr

  1. suggests users default to the Hatch installers rather than pipx.
  2. suggests linux users use pipx as the install there is simpler.

that's it!!

Comment on lines 23 to 24
Hatch uses [UV](https://astral.sh/blog/uv) to install Python. UV is a super
fast Python package installer and resolver written in Rust.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not true; the Python installation logic is custom (I don't even think UV supports that yet). There is however an option to use UV for package installation.

Copy link
Member Author

Choose a reason for hiding this comment

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

oh gosh - ok i'll remove that entire breakout as it's not relevant for someone just getting started. I didn't realize the Python installation was custom, @ofek thank you for looking at this!

i need to spend some time reading more about UV and Pixie. as those tools are mixed up in my head right now (probably because i haven't used them yet).

Copy link
Contributor

Choose a reason for hiding this comment

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

In the context of Hatch, UV is used (if that option is enabled) solely as a replacement for pip and virtualenv.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok got it. thank you so much @ofek .

@lwasser
Copy link
Member Author

lwasser commented Jul 3, 2024

pre-commit.ci autofix

@lwasser lwasser merged commit 59d1e2f into pyOpenSci:main Jul 3, 2024
4 checks passed
@lwasser lwasser deleted the install-hatch branch July 3, 2024 23:28
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.

Fix: update hatch install instructions to use the hatch installers rather than pipx in our tutorial
2 participants