-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #341 from lsst-sqre/tickets/DM-43423
DM-43423: Prepare 7.1.0 release
- Loading branch information
Showing
10 changed files
with
90 additions
and
152 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,43 @@ | ||
.PHONY: update-deps | ||
update-deps: | ||
pip install --upgrade pre-commit | ||
pre-commit autoupdate | ||
pip install --upgrade pip-tools pip setuptools | ||
pip-compile --upgrade --resolver=backtracking --build-isolation \ | ||
--generate-hashes --allow-unsafe \ | ||
--output-file requirements/main.txt requirements/main.in | ||
pip-compile --upgrade --resolver=backtracking --build-isolation \ | ||
--generate-hashes --allow-unsafe \ | ||
--output-file requirements/dev.txt requirements/dev.in | ||
|
||
# Useful for testing against a Git version of Safir. | ||
.PHONY: update-deps-no-hashes | ||
update-deps-no-hashes: | ||
pip install --upgrade pip-tools pip setuptools | ||
pip-compile --upgrade --resolver=backtracking --build-isolation --allow-unsafe --output-file requirements/main.txt requirements/main.in | ||
pip-compile --upgrade --resolver=backtracking --build-isolation --allow-unsafe --output-file requirements/dev.txt requirements/dev.in | ||
.PHONY: help | ||
help: | ||
@echo "Make targets for mobu" | ||
@echo "make init - Set up dev environment" | ||
@echo "make run - Run development instance of server" | ||
@echo "make update - Update pinned dependencies and run make init" | ||
@echo "make update-deps - Update pinned dependencies" | ||
@echo "make update-deps-no-hashes - Pin dependencies without hashes" | ||
|
||
.PHONY: init | ||
init: | ||
pip install --upgrade pip setuptools wheel | ||
pip install --editable . | ||
pip install --upgrade -r requirements/main.txt -r requirements/dev.txt | ||
pip install --upgrade uv | ||
uv pip install pre-commit tox | ||
uv pip install --editable . | ||
uv pip install -r requirements/main.txt -r requirements/dev.txt | ||
rm -rf .tox | ||
pip install --upgrade tox | ||
pre-commit install | ||
|
||
.PHONY: update | ||
update: update-deps init | ||
|
||
.PHONY: run | ||
run: | ||
tox run -e run | ||
|
||
.PHONY: update | ||
update: update-deps init | ||
|
||
.PHONY: update-deps | ||
update-deps: | ||
pip install --upgrade uv | ||
uv pip install pre-commit | ||
pre-commit autoupdate | ||
uv pip compile --upgrade --generate-hashes \ | ||
--output-file requirements/main.txt requirements/main.in | ||
uv pip compile --upgrade --generate-hashes \ | ||
--output-file requirements/dev.txt requirements/dev.in | ||
|
||
# Useful for testing against a Git version of a dependency. | ||
.PHONY: update-deps-no-hashes | ||
update-deps-no-hashes: | ||
pip install --upgrade uv | ||
uv pip compile --upgrade \ | ||
--output-file requirements/main.txt requirements/main.in | ||
uv pip compile --upgrade \ | ||
--output-file requirements/dev.txt requirements/dev.in |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.