Skip to content

chore(deps): bump hypothesis from 6.92.1 to 6.148.9#10

Closed
dependabot[bot] wants to merge 51 commits intomainfrom
dependabot/pip/hypothesis-6.148.9
Closed

chore(deps): bump hypothesis from 6.92.1 to 6.148.9#10
dependabot[bot] wants to merge 51 commits intomainfrom
dependabot/pip/hypothesis-6.148.9

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Jan 3, 2026

Bumps hypothesis from 6.92.1 to 6.148.9.

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.148.9

".example()" no longer emits "NonInteractiveExampleWarning" when running a python file directly. This means that e.g. "python my_sandbox.py" during exploratory work with ".example()" will no longer raise warnings.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.8

Add "dict" and "proto" to the list of constant strings Hypothesis sometimes generates.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.7

When multiple explicit "@​example" decorators fail with the same error, Hypothesis now shows only the simplest failing example (by shortlex order) with a note about how many other examples also failed (issue #4520).

To see all failing examples, use "Verbosity.verbose" or higher.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.6

Fix a bug where we persisted symbolics from solver-based alternative backends in "event()".

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.5

This patch improves the error message for "FlakyStrategyDefinition" when the precondition for a rule is flaky (issue #4206).

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.4

This patch improves the type annotations for "basic_indices()". The return type now accurately reflects the "allow_ellipsis" and "allow_newaxis" parameters, excluding "EllipsisType" or "None" from the union when those index types are disabled (issue #4607).

Additionally, "assume()" now has overloaded type annotations: "assume(True)" returns "Literal[True]", while "assume(False)" and "assume(None)" return "NoReturn".

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.148.3

Clean up some internal code.

... (truncated)

Commits
  • 6462385 Bump hypothesis-python version to 6.148.9 and update changelog
  • 17ff97c Merge pull request #4626 from Liam-DeVoe/example-warning
  • cc50f6a skip subprocess test on emscripten
  • bdf7d49 less aggressive env
  • aef5daa always warn under pytest
  • 168d6a8 dont raise NonInteractiveExampleWarning for directly running .example
  • efe4e5b Bump hypothesis-python version to 6.148.8 and update changelog
  • c29d921 Merge pull request #4619 from HypothesisWorks/create-pull-request/patch
  • bff38de more tweaks
  • eac1359 set tox python versions
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

mailsafepro and others added 21 commits December 17, 2025 19:22
- 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>
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Jan 3, 2026

Labels

The following labels could not be found: dependencies, python. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Jan 7, 2026

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 @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/hypothesis-6.148.9 branch January 7, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant