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

migrate from poetry to uv #43

Merged
merged 24 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7635f03
convert poetry toml to uv toml using pdm build backend
rbavery Oct 31, 2024
e19f4b5
correct all commands to use currently active env based on which pytho…
rbavery Oct 31, 2024
26b5705
add lockfile, test precommit with relaxed python version to accomodat…
rbavery Oct 31, 2024
6d32293
remove poetry lock
rbavery Oct 31, 2024
1ae1242
check npm versions in CI, reset before npm run format-markdown
rbavery Nov 1, 2024
634bf2b
gitignore reqs generated from make
rbavery Nov 1, 2024
305e40c
poetry>uv in actions
rbavery Nov 1, 2024
6094b22
code linting with ruff, fix makefile command, ignore line length and …
rbavery Nov 1, 2024
fe16953
update example to 1.0.0
rbavery Nov 1, 2024
5a84905
remove docker, point to uv docs, uv badge
rbavery Nov 1, 2024
15b7aae
line length fix
rbavery Nov 1, 2024
a94aaa5
fix style of uv badge and remove github pages badge
rbavery Nov 1, 2024
8471a49
ignore line length for certain lists, remove remove command
rbavery Nov 5, 2024
d7278bf
make format
rbavery Nov 5, 2024
2d3af0d
Merge branch 'main' into migrate-to-uv
rbavery Nov 5, 2024
277b1d7
fix if condition on linux, linitng
rbavery Nov 5, 2024
a8cf7ca
don't run setup on every command in makefile
rbavery Nov 5, 2024
2a5963d
disable dependabot
rbavery Nov 5, 2024
e15f0ad
temporarily remove dependabot
rbavery Nov 5, 2024
9c18aba
update setup command, add back dependabot
rbavery Nov 11, 2024
34fbf3d
merge main with make lint-all
rbavery Nov 11, 2024
021d0a2
add backticks, remove extra | None
rbavery Nov 11, 2024
eb2e5c6
remove noqa, make format
rbavery Nov 12, 2024
9752f5e
backticks, use Optional instead of | None
rbavery Nov 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ make setup
> This installs uv as a [standalone application][uv-install]. <br>
> For more details, see also the [uv documentation][uv-docs]. <br>

2. Initialize project dependencies with uv and install `pre-commit` hooks:
2. Initialize project dependencies with `uv` and install `pre-commit` hooks:

```bash
make install-dev
make pre-commit-install
```

This will install project dependencies into the currently active environment. If you would like to
use uv's default behavior of managing a project-scoped environment, use uv commands directly to
use uv's default behavior of managing a project-scoped environment, use `uv` commands directly to
rbavery marked this conversation as resolved.
Show resolved Hide resolved
install dependencies. `uv sync` will install dependencies and dev dependencies in `.venv` and update the `uv.lock`.

## PR submission
Expand Down
1 change: 0 additions & 1 deletion stac_model/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class ValueScalingProcessingExpression(ProcessingExpression):
ValueScalingScale,
ValueScalingProcessingExpression,
]
| None
] # noqa: E501
rbavery marked this conversation as resolved.
Show resolved Hide resolved

ResizeType: TypeAlias = (
Expand Down