René's URL Explorer Experiment


Title: Instructions in `CONTRIBUTING.md` lead to an incomplete environment · Issue #2760 · getsentry/sentry-python · GitHub

Open Graph Title: Instructions in `CONTRIBUTING.md` lead to an incomplete environment · Issue #2760 · getsentry/sentry-python

X Title: Instructions in `CONTRIBUTING.md` lead to an incomplete environment · Issue #2760 · getsentry/sentry-python

Description: How do you use Sentry? Self-hosted/on-premise Version 1.40.5 Steps to Reproduce Clone repo Run steps outlined in CONTRIBUTING.md#Development Environment Expected Result pytest tests/ comes up all green Actual Result A string of small iss...

Open Graph Description: How do you use Sentry? Self-hosted/on-premise Version 1.40.5 Steps to Reproduce Clone repo Run steps outlined in CONTRIBUTING.md#Development Environment Expected Result pytest tests/ comes up all g...

X Description: How do you use Sentry? Self-hosted/on-premise Version 1.40.5 Steps to Reproduce Clone repo Run steps outlined in CONTRIBUTING.md#Development Environment Expected Result pytest tests/ comes up all g...

Opengraph URL: https://github.com/getsentry/sentry-python/issues/2760

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Instructions in `CONTRIBUTING.md` lead to an incomplete environment","articleBody":"### How do you use Sentry?\n\nSelf-hosted/on-premise\n\n### Version\n\n1.40.5\n\n### Steps to Reproduce\n\n1. Clone repo\r\n1. Run steps outlined in [`CONTRIBUTING.md#Development Environment`](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md#development-environment)\r\n\n\n### Expected Result\n\n`pytest tests/` comes up all green\r\n\n\n### Actual Result\n\nA string of small issues that leads from tests failing to even start to incompatible dependencies version to failures that should not be there.\r\n\r\n1. [`linter-requirements.txt`](https://github.com/getsentry/sentry-python/blame/master/linter-requirements.txt#L8) installs `pymongo`, which unmasks `pymongo` integration tests. They rely on `mockupdb` being installed, but it's only mentioned in `tox.ini` => `pytest` blows up on collection.\r\n    After installing `mockupdb`, I get 4 errors and 18 warnings (linux aarch64).\r\n1. Errors are due to [`test-requirements.txt`](https://github.com/getsentry/sentry-python/blob/2eeb8c50a0fe987cf70ef254ea0d63bf422a1899/test-requirements.txt#L3) [not constrainting `pytest` version](https://github.com/getsentry/sentry-python/commit/5cab03f3fd6a9d264922355321eb3aa5e25ef6b5), triggering [bug in `pytest-forked` that is documented in `tox.ini`](https://github.com/getsentry/sentry-python/blob/2eeb8c50a0fe987cf70ef254ea0d63bf422a1899/tox.ini#L244-L247)\r\n1. Majority of warnings are due to `pytest-asyncio` not being installed by anything except for `tox` (and installing it without [version constraints from `tox.ini`](https://github.com/getsentry/sentry-python/blob/2eeb8c50a0fe987cf70ef254ea0d63bf422a1899/tox.ini#L243) causes exciting issues)\r\n\r\nNone of the issues above are serious, but combined they add quite a bit of annoyance to the (ideally) first step of contributing to the project: developer environment setup.\r\n\r\nGiven the number of additional constraints mentioned in `tox.ini`, I almost wonder if suggesting using it instead of just `pytest` might be a good idea (btw `tox` just worked for me — great job setting it up!)\r\n\r\nThere is a quick (but brittle) solution, which is to introduce a Yet Another Requirements File for dev env bringup (and maybe make it pull others internally), but if anyone on the team has Thoughts on dependency management management but no time to implement them I'd be happy to lend a hand.","author":{"url":"https://github.com/arr-ee","@type":"Person","name":"arr-ee"},"datePublished":"2024-02-25T06:23:25Z","url":"https://github.com/getsentry/sentry-python/issues/2760"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b47fdd02-93c1-19ab-ccca-d5c50071a35c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8760:2433F1:3A58B2:4EAF4B:6B008B9B
html-safe-nonce53f0f85d57a90a612d5724616f81a2d6eb2ec29aebdc741de7111c3013e54db1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzYwOjI0MzNGMTozQTU4QjI6NEVBRjRCOjZCMDA4QjlCIiwidmlzaXRvcl9pZCI6IjY5NjE3NjU4MDEwMTU2NzU4MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac649be85d8c56576035914493e33e3740304afb36d134eb8efd936a9bc1345049
hovercard-subject-tagissue:2152622435
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/2760/issue_layout
twitter:imagehttps://opengraph.githubassets.com/86bb8a3e368d345b29828e9e677679fa9887f5f41db8374803f4fdaa21092d7d/getsentry/sentry-python/issues/2760
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/86bb8a3e368d345b29828e9e677679fa9887f5f41db8374803f4fdaa21092d7d/getsentry/sentry-python/issues/2760
og:image:altHow do you use Sentry? Self-hosted/on-premise Version 1.40.5 Steps to Reproduce Clone repo Run steps outlined in CONTRIBUTING.md#Development Environment Expected Result pytest tests/ comes up all g...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearr-ee
hostnamegithub.com
expected-hostnamegithub.com
Nonec710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebe616a2a6ec1c609d6e002896dff5352d5c5f28b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/issues/2760#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fissues%2F2760
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fissues%2F2760
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/issues/2760
Reloadhttps://github.com/getsentry/sentry-python/issues/2760
Reloadhttps://github.com/getsentry/sentry-python/issues/2760
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests41 (41)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/2760
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/2760
Instructions in CONTRIBUTING.md lead to an incomplete environmenthttps://github.com/getsentry/sentry-python/issues/2760#top
Bughttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Bug%22
Component: Docsupdates on getsentry/docs or docstringshttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Component%3A%20Docs%22
https://github.com/arr-ee
arr-eehttps://github.com/arr-ee
on Feb 25, 2024https://github.com/getsentry/sentry-python/issues/2760#issue-2152622435
CONTRIBUTING.md#Development Environmenthttps://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md#development-environment
linter-requirements.txthttps://github.com/getsentry/sentry-python/blame/master/linter-requirements.txt#L8
test-requirements.txthttps://github.com/getsentry/sentry-python/blob/2eeb8c50a0fe987cf70ef254ea0d63bf422a1899/test-requirements.txt#L3
not constrainting pytest versionhttps://github.com/getsentry/sentry-python/commit/5cab03f3fd6a9d264922355321eb3aa5e25ef6b5
bug in pytest-forked that is documented in tox.inihttps://github.com/getsentry/sentry-python/blob/2eeb8c50a0fe987cf70ef254ea0d63bf422a1899/tox.ini#L244-L247
version constraints from tox.inihttps://github.com/getsentry/sentry-python/blob/2eeb8c50a0fe987cf70ef254ea0d63bf422a1899/tox.ini#L243
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Feb 25, 2024https://github.com/getsentry/sentry-python/issues/2760#event-11912287770
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 2https://github.com/orgs/getsentry/projects/190
on Feb 25, 2024https://github.com/getsentry/sentry-python/issues/2760#event-14896352211
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 2https://github.com/orgs/getsentry/projects/190
on Feb 25, 2024https://github.com/getsentry/sentry-python/issues/2760
arr-eehttps://github.com/arr-ee
on Feb 25, 2024https://github.com/getsentry/sentry-python/issues/2760#event-11912293826
Add `devenv-requirements.txt` and update env setup instructionshttps://github.com/arr-ee/sentry-python/commit/667dc8bf222bf72ccb73cba662bb7c36a18c6cf7
667dc8bhttps://github.com/arr-ee/sentry-python/commit/667dc8bf222bf72ccb73cba662bb7c36a18c6cf7
Add devenv-requirements.txt and update env setup instructionshttps://github.com/arr-ee/sentry-python/commit/28eff62838ed8720a7fd26ef59481a42e07447c3
28eff62https://github.com/arr-ee/sentry-python/commit/28eff62838ed8720a7fd26ef59481a42e07447c3
https://github.com/arr-ee
arr-eehttps://github.com/arr-ee
on Feb 25, 2024https://github.com/getsentry/sentry-python/issues/2760#issuecomment-1962833486
never ran in CIhttps://github.com/getsentry/sentry-python/commit/38b983e490ad4bda8db7a80ee52cfb65c398a45c
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
on Feb 27, 2024https://github.com/getsentry/sentry-python/issues/2760#issuecomment-1966332964
@arr-eehttps://github.com/arr-ee
#2721https://github.com/getsentry/sentry-python/issues/2721
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Feb 27, 2024https://github.com/getsentry/sentry-python/issues/2760#event-11934807230
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 2https://github.com/orgs/getsentry/projects/190
on Feb 27, 2024https://github.com/getsentry/sentry-python/issues/2760
sentrivanahttps://github.com/sentrivana
Type: Bughttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
Component: Docsupdates on getsentry/docs or docstringshttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Component%3A%20Docs%22
on Feb 27, 2024https://github.com/getsentry/sentry-python/issues/2760#event-11934813773
arr-eehttps://github.com/arr-ee
on Apr 2, 2024https://github.com/getsentry/sentry-python/issues/2760#event-12326957524
Add devenv-requirements.txt and update env setup instructionshttps://github.com/arr-ee/sentry-python/commit/95a640382767f92fe3ea2caa420dc46ecc640eca
95a6403https://github.com/arr-ee/sentry-python/commit/95a640382767f92fe3ea2caa420dc46ecc640eca
https://github.com/szokeasaurusrex
szokeasaurusrexhttps://github.com/szokeasaurusrex
on Jun 3, 2024https://github.com/getsentry/sentry-python/issues/2760#issuecomment-2146006542
#2761https://github.com/getsentry/sentry-python/pull/2761
szokeasaurusrexhttps://github.com/szokeasaurusrex
completedhttps://github.com/getsentry/sentry-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 3, 2024https://github.com/getsentry/sentry-python/issues/2760#event-13026200701
stephanie-andersonhttps://github.com/stephanie-anderson
Type: Bughttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Type%3A%20Bug%22
on Nov 21, 2024https://github.com/getsentry/sentry-python/issues/2760#event-15380620958
Bughttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Bug%22
on Aug 13, 2025https://github.com/getsentry/sentry-python/issues/2760#event-19125003879
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-python/issues/2760
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-python/issues/2760
Bughttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Bug%22
Component: Docsupdates on getsentry/docs or docstringshttps://github.com/getsentry/sentry-python/issues?q=state%3Aopen%20label%3A%22Component%3A%20Docs%22
GitHub Issues with 👀 2https://github.com/orgs/getsentry/projects/190
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.