GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Do not trigger a `BytesWarning` under `python -bb` by kdeldycke · Pull Request #3642 · pallets/click

Conversation

@kdeldycke

@kdeldycke kdeldycke commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

This fix a strict exception being raised when the hard-coded - path is compared with unmatching types.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kdeldycke
Do not trigger a BytesWarning under python -bb
6f85d26
Closes pallets#2877
@kdeldycke kdeldycke added this to the 8.5.0 milestone Jun 27, 2026
@kdeldycke kdeldycke added the typing Type annotations and stubs label Jun 27, 2026
@kdeldycke kdeldycke linked an issue Jun 27, 2026 that may be closed by this pull request
[Python forward compat] click.types.Path.covert: BytesWarning: Comparison between bytes and string #2877
Closed
@kdeldycke
kdeldycke changed the base branch from stable to main July 1, 2026 04:55
@kdeldycke
Merge branch 'main' into fix-path-byteswarning
dbfb10a
@Rowlando13
Rowlando13 merged commit 16fc00e into pallets:main Jul 3, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

vamsiduppala added a commit to vamsiduppala/thereviewman2 that referenced this pull request Jul 4, 2026
@vamsiduppala
feat(transports): PyGithub API client + tokenless git-ref transport +…
ab5b43b
… ingestion CLI

- shared REST-JSON→model mapping used by live client, fixtures and capture
- git transport: refs/pull/N/head fetch, default-branch autodetect,
  progressive deepening, premerge-base recovery for merged PRs,
  rename-aware -z parsers (pure functions, unit-tested)
- diff via REST diff media type (PyGithub lacks alt-media accessors)
- CLI: python -m reviewman.ingestion <pr-url> [--transport git|api]
- live e2e verified in-session against pallets/click#3642 (git transport)
- 34 offline tests + 2 live-marked; ruff + mypy --strict clean
vamsiduppala added a commit to vamsiduppala/thereviewman2 that referenced this pull request Jul 4, 2026
@vamsiduppala
feat(fixtures): real-data fixtures from 3 OSS PRs + end-to-end ingest…
5eac1bb
…ion suite

- pallets/click#3642 (merged, code+test), psf/requests#7556 (open, docs-only,
  one 152-line hunk), Kludex/starlette#3360 (open, 3-file code+test)
- REST payloads captured verbatim (provenance in each meta.json); diffs
  computed from the PRs' real git objects via the git transport
- e2e proves parser/chunker reproduce GitHub's own accounting exactly:
  per-file +/- counts, file counts, PR totals, on all three PRs
- real-data split-hunk test (requests mega-hunk at budget 400)
- 42 offline tests + 2 live-marked; ruff + mypy --strict clean
vamsiduppala added a commit to vamsiduppala/thereviewman2 that referenced this pull request Jul 4, 2026
@vamsiduppala
feat(cli): reviewman.review — text/markdown/json output + fail-on gating
48f96b8
- python -m reviewman.review <pr-url> [--transport git|api] [--format ...]
  [--model] [--budget] [--fail-on sev] [--fake]
- git transport default (Session 1); Gemini analyzer default, --fake uses the
  offline reference analyzer; deps injectable (fetcher=/analyzer=) for tests
- report_format: pure text/markdown/json renderers
- --fail-on returns non-zero when a finding meets a severity threshold (CI)
- 9 offline tests (fake analyzer + fixture fetcher) + 1 live git-fetch CLI test;
  verified end-to-end over real network against pallets/click#3642
vamsiduppala added a commit to vamsiduppala/thereviewman2 that referenced this pull request Jul 4, 2026
@vamsiduppala
feat(service): FastAPI web service + bundled samples (zero-key securi…
187f0c9
…ty mode)

- POST /api/review (by url or bundled sample), GET /api/samples, GET /api/health
- keyless by default: security pass always runs (real anchored findings, no API
  key, no network for bundled samples); Gemini LLM added when GEMINI_API_KEY set
- NullAnalyzer for keyless mode; git transport for real URLs (90s timeout);
  CORS; clear 400/404/502 errors; serves web/out static UI if present
- samples.py: 2 bundled vuln demos (secrets+injection, unsafe-deser+TLS) + 1
  real PR (pallets/click#3642)
- cost/tokens in response meta when LLM enabled
- 7 offline TestClient tests + 1 live (real PR via git through the service)
@kdeldycke
kdeldycke deleted the fix-path-byteswarning branch July 6, 2026 07:20
@kdeldycke kdeldycke mentioned this pull request Jul 17, 2026
Pre-8.5.0 release changelog and doc fixes #3697
Merged
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

typing Type annotations and stubs

Projects

None yet

Milestone

8.5.0

Development

Successfully merging this pull request may close these issues.

[Python forward compat] click.types.Path.covert: BytesWarning: Comparison between bytes and string

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@kdeldycke @Rowlando13
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.