Skip to content

Commit

Permalink
Remove sub-dependencies now that lockfile is in place; update README
Browse files Browse the repository at this point in the history
  • Loading branch information
eloquence committed Dec 12, 2023
1 parent 678d7f7 commit 24fa403
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ If we have to update the tool, use the following steps
rm -rf .venv
make install-deps
source .venv/bin/activate
# Update the workstation-bootstrap/pyproject.toml file as required.
# Then update the lockfile:
poetry -C workstation-bootstrap/ lock
# Perform the required dependency operations using Poetry.
# Use "poetry update <foo>" to update an individual dependency per pyproject.toml
# Use "poetry lock --no-update" to pick up pyproject.toml additions/removals
# Use -C to run commands in the workstation-bootstrap directory, e.g.:
poetry -C workstation-bootstrap/ lock --no-update
# Now we are ready to build updated wheels:
./scripts/build-sync-wheels --project workstation-bootstrap --pkg-dir ./workstation-bootstrap
# Once the new wheels are ready, we recreate our sha256sums:
Expand Down
2 changes: 1 addition & 1 deletion workstation-bootstrap/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 1 addition & 10 deletions workstation-bootstrap/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,4 @@ pip = "21.3.1"
setuptools-scm = "5.0.2"
pytest-runner = "5.3.0"
cython = "0.29.33"
flit-core = "2.3.0"
# Sub-dependencies which we're explicitly freezing for now,
# to ensure consistent build behavior with pip-compile based
# boostrap.
packaging = "20.9"
pyparsing = "2.4.7"
pep517 = "0.9.1"
pytoml = "0.1.21"
toml = "0.10.2"
setuptools = "54.0.0"
flit-core = "2.3.0"

0 comments on commit 24fa403

Please sign in to comment.