Skip to content

Commit b5eea04

Browse files
authored
devenv: internal troubleshooting (#11947)
1 parent 35da9d9 commit b5eea04

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

develop-docs/development-infrastructure/environment/index.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ SENTRY_SILO_DEVSERVER=1 SENTRY_SILO_MODE=REGION SENTRY_REGION=us getsentry djang
187187

188188
## Troubleshooting
189189

190-
You might also be interested in <Link to="/development/continuous-integration/#troubleshooting-ci">troubleshooting CI</Link>.
190+
The more up-to-date troubleshooting docs for the internal development environment on MacOS are <Link to="https://www.notion.so/sentry/devenv-troubleshooting-1448b10e4b5d8080ba04f452e33de48d">here</Link>.
191+
192+
You might also be interested in <Link to="/development/continuous-integration/#troubleshooting-ci">Troubleshooting CI</Link>.
191193

192194
---
193195

@@ -210,7 +212,7 @@ following in getsentry:
210212

211213
**Problem:** You see an error that mentions something like `pkg_resources.DistributionNotFound: The 'some_dependency<0.6.0,>=0.5.5' distribution was not found and is required by sentry`
212214

213-
**Solution:** Your virtualenv needs to be updated. Run `make install-py-dev`.
215+
**Solution:** Your virtualenv needs to be updated. Run `devenv sync`.
214216

215217
---
216218

develop-docs/development-infrastructure/python-dependencies.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To add or manually update a dependency:
2323
5. In that repo, add to or update `requirements-base.txt` or `requirements-dev.txt`, as appropriate. Note that many of our dependencies are pinned with lower bounds only, to encourage updating to latest versions, though we do use exact pins for certain core dependencies like `django`. Choose whichever one feels most appropriate in your case.
2424
6. Run `make freeze-requirements`. You might need to wait a few minutes for the changes to `getsentry/pypi` to be deployed before this will work without erroring.
2525
7. Commit your changes (which should consist of changes to both one of the `requirements` files and its corresponding lockfile) to a branch and open a PR in the relevant repo. If it's not obvious, explain why you're adding or updating the dependency. Tag `owners-python-build` if they haven't already been auto-tagged.
26-
8. Merge your PR, pull `master`, and run `make install-py-dev`.
26+
8. Merge your PR, pull `master`, and run `devenv sync`.
2727

2828
To update a dependency using GitHub Actions:
2929

0 commit comments

Comments
 (0)