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

Fix docs deploy #40

Merged
merged 4 commits into from
Oct 10, 2024
Merged

Fix docs deploy #40

merged 4 commits into from
Oct 10, 2024

Conversation

gadomski
Copy link
Collaborator

@gadomski gadomski commented Oct 10, 2024

Not surprisingly (to me at least) I did it wrong on the first pass: https://github.com/developmentseed/cql2-rs/actions/runs/11280618987/job/31373989523. Couple other nit-y cleanups along the way.

EDIT: confirmed fix on manual run

@gadomski gadomski self-assigned this Oct 10, 2024
- uses: Swatinem/rust-cache@v2
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: Install Python
run: uv python install # we use uv instead of setup-python so we get python-version resolution between our two packages
- name: Sync
run: uv sync
run: uv sync && uv sync --no-dev --inexact --directory python
Copy link
Member

Choose a reason for hiding this comment

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

I was just reading about uv workspaces and in the future it would be cool to explore if that could work here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They've got an issue for syncing workspaces: astral-sh/uv#5727

It'd be swell if it did work, because I really like this pattern generally (have a shared lockfile, split up deps into the package where you need 'em).

@gadomski gadomski merged commit ba1dda7 into main Oct 10, 2024
2 checks passed
@gadomski gadomski deleted the fix-docs branch October 10, 2024 20:32
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