chore(deps): bump hypothesis from 6.92.1 to 6.148.9#10
Closed
dependabot[bot] wants to merge 51 commits intomainfrom
Closed
chore(deps): bump hypothesis from 6.92.1 to 6.148.9#10dependabot[bot] wants to merge 51 commits intomainfrom
dependabot[bot] wants to merge 51 commits intomainfrom
Conversation
…, and filter external warnings
- Remove hardcoded PORT=8000 from Dockerfile ENV
- Use ${PORT:-8000} syntax for dynamic port assignment
- Render injects PORT dynamically, was conflicting with hardcoded value
- Increase healthcheck start-period to 60s for slower cold starts
- Fix healthcheck endpoint from /health to /healthcheck
This fixes the intermittent port detection issues on Render free tier.
- Create globally patched logger that ensures request_id before setup_logging() - Fix KeyError: 'request_id' in Loguru Handler #2 error - Use production-safe format that handles missing extras - Separate production/development logging configurations This fixes the logging error during circuit breaker initialization.
1. Fix 'name false is not defined' error: - cache_warming.py: Changed 'return false' to 'return False' (lines 183, 210) - This was causing cache warming failures for yahoomail.com and o2.co.uk 2. Fix 'maximum recursion depth exceeded' error: - advanced_rate_limiting.py: Removed inline circuit breaker decorator - The decorator was being applied on every call, causing accumulation - Now uses direct Redis call with try/except for error handling These errors were causing sporadic failures in the rate limiting system.
- Reduce Redis connection timeout from 30s to 5s during startup - Move heavy initialization to background task after app is live - App now responds to healthchecks within ~5 seconds - Redis retries connection in background if initial attempt fails - Fixes 'No open ports detected' error on Render The app starts immediately and can respond to Render's port scanner, while Redis connection and service initialization happen in parallel.
The 8 second timeout was too aggressive for Render's free tier where DNS lookups can be slow. This caused validations to timeout before SPF/DKIM/DMARC checks could complete, returning 'not_found' for legitimate domains like gmail.com. - FREE: 8s -> 20s (allows DNS lookups to complete) - PREMIUM: 45s (unchanged) - ENTERPRISE: 60s (unchanged)
Added: - Exception type name in error messages - repr() fallback when str() is empty - Masked URL logging for debugging - Traceback in debug level logs - Separate handling for asyncio.TimeoutError This will help diagnose why Redis connection fails on Render despite showing as Available in the dashboard.
Catch OSError with errno 101 (Network is unreachable) during SMTP checks. This error is common on Render's free tier which blocks outbound SMTP. Instead of retrying and causing a validation timeout, we now catch it immediately, log a warning, and return a 'blocked' status, allowing the rest of the validation to proceed without delay.
The previous background retry only ran once. Now it loops indefinitely until Redis connects, ensuring the app can recover from transient Redis failures or slow startups on Render's free tier. Logs masked URL and retry attempts every 5s.
Optimized MX verification loop to abort immediately if an infrastructure block (Errno 101) is detected. This prevents trying multiple MX records and ports when the failure is global to the environment, avoiding unnecessary timeouts (saving up to 20s).
This prevents long 20s hangs when servers (like Gmail) tarpit the initial connection banner for residential/untrusted IPs. - Connect Timeout: 5s strict limit for TCP+Banner. - Command Timeout: Restores full configured timeout (e.g. 15s) for HELO/MAIL.
…locks - Implemented 'No-Retry' policy for socket.timeout to detect silent packet drops/tarpits. - Added 'Fail-Fast' logic: if one port/MX check results in Timeout or Errno 101, abort all subsequent checks. - Refactored exception handling in _test_smtp_sync to prevent duplicate retries. - Reduces validation time from >20s to ~7s in blocked environments.
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.92.1 to 6.148.9. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.92.1...hypothesis-python-6.148.9) --- updated-dependencies: - dependency-name: hypothesis dependency-version: 6.148.9 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps hypothesis from 6.92.1 to 6.148.9.
Release notes
Sourced from hypothesis's releases.
... (truncated)
Commits
6462385Bump hypothesis-python version to 6.148.9 and update changelog17ff97cMerge pull request #4626 from Liam-DeVoe/example-warningcc50f6askip subprocess test on emscriptenbdf7d49less aggressive envaef5daaalways warn under pytest168d6a8dont raise NonInteractiveExampleWarning for directly running .exampleefe4e5bBump hypothesis-python version to 6.148.8 and update changelogc29d921Merge pull request #4619 from HypothesisWorks/create-pull-request/patchbff38demore tweakseac1359set tox python versionsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)