Skip to content

fix(release): correct 1.7.0 metadata and release notes - #165

Merged
suppagoddo merged 1 commit into
masterfrom
fix/170-release-metadata
Nov 23, 2026
Merged

suppagoddo merged 1 commit into
masterfrom
fix/170-release-metadata

Conversation

@suppagoddo

@suppagoddo suppagoddo commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Maintainer release PR for 1.7.0. Per CONTRIBUTING.md and MAINTENANCE.md, release PRs opened by maintainers and broken-link fixes don't need a linked ready issue, so none is attached. Found during the pre-release review on #163.

What was wrong

  1. setup.py sets url="https://github.com/bobbui/json-logging", which returns 404. It becomes Home-page in the package metadata, and so the "Homepage" link on PyPI. 1.6.0's URL still redirected to this repo.
  2. The Fix request lookup when frame locals mutate #120 fix (call-stack request lookup failing with RuntimeError: dictionary changed size during iteration, RuntimeError: dictionary changed size during iteration #89) was merged on 2026-10-23, after 1.6.0. It ships in 1.7.0, but the changelog didn't mention it.
  3. The 1.7.0 heading was dated 2026-11-16, the day chore(release): prepare json-logging 1.7.0 #163 was merged. Publication is planned for 2026-11-23 (per the chore(release): prepare json-logging 1.7.0 #163 thread).

Changes

Why now

PyPI metadata is fixed once a version is uploaded. If 1.7.0 ships with the incorrect URL, its published metadata cannot be corrected for that version.

Compatibility

There are no library code changes; git diff origin/master -- json_logging/ is empty. The version stays 1.7.0. Dependencies, classifiers, author/maintainer fields and the JSON log output are unchanged. #158 and #162 are not included.

How I tested it

  • Built the wheel and sdist from this branch; twine check passes. The only warning (missing long_description_content_type) was already there.
  • Compared with a build of 2cb6c2f:
    • wheel: only METADATA changed (the Home-page line) and its RECORD hash; all module files are identical
    • sdist: same file list; only setup.py, CHANGELOG.md and the Home-page line in both PKG-INFO files changed
  • Installed the wheel and the sdist into fresh venvs on Python 3.9.6 and 3.13.5, and ran the checks from outside the repo. In each case:
    • pip check is clean
    • the version is 1.7.0
    • the installed Home-page is the corrected URL
    • a JSON logging check passed 29/29
  • Unit tests on 3.9.6 and 3.13.5: 184 passed. The 7 Sanic/gunicorn tests failed only because my local sandbox blocks socket binding (EPERM); they passed on CI for 2cb6c2f, and CI on this PR will run them. The Fix request lookup when frame locals mutate #120 regression test (test_get_request_from_call_stack_handles_frame_locals_mutation) passes on both versions.
  • Blocking flake8 (--select=E9,F63,F7,F82): 0.
  • Not run locally: Python 3.10–3.14 for this branch, and the smoketests. CI covers both.

Release date

The heading now reads 2026-11-23, based on @cvas22's comment on #163 (2026-11-22): "I will be making the release on Monday Nov 23rd." If publication moves, the date needs to be updated before building. Merging this PR doesn't mean the release has happened.

After merge

Wait for CI to pass on the new master commit, then build and publish 1.7.0 from that commit and tag it.

Summary by CodeRabbit

  • Documentation
    • Updated the 1.7.0 release date and added a changelog note about regression testing request lookup when tracing or debugging modifies frame-local variables during iteration.
  • Chores
    • Updated the package’s project URL to its current repository address. This changes the repository link shown in package metadata.

@suppagoddo
suppagoddo requested a review from cvas22 as a code owner November 23, 2026 00:00
@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The changelog updates the 1.7.0 release date and adds a request-lookup fix entry. The package metadata URL changes to the json-logging-python repository.

Changes: Release notes

Layer / File(s) Summary
Update 1.7.0 changelog
CHANGELOG.md
The 1.7.0 release date changes, and a Fixed entry describes a request-lookup fix and regression test.

Package metadata

Layer / File(s) Summary
Update package URL
setup.py
The package metadata URL changes to the json-logging-python repository.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Possibly related PRs

Suggested reviewers: bobbui

Merge Risk: Minimal · up to 7c34c

This release-metadata and changelog correction does not change runtime behavior. It is safe to merge, and the 1.7.0 date should be updated if publication slips.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "fix(release): correct 1.7.0 metadata and release notes" matches the main change. The PR corrects 1.7.0 release metadata (the setup.py homepage URL), adjusts the 1.7.0 changelog heading date…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(release): correct 1.7.0 metadata and release notes" matches the main change. The PR corrects 1.7.0 release metadata (the setup.py homepage URL), adjusts the 1.7.0 changelog heading date, and adds a Fixed changelog entry. The title is specific, concise, and uses a conventional-commit style. It does not name the homepage URL or the regression test, but the summary is accurate.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 83ec9d35-59b0-4f1b-82ec-1d6aab3431d8
Commits

Reviewing files that changed from the base of the PR and between 2cb6c2f and 7c34cb1.

Files selected for processing: 2

  • CHANGELOG.md
  • setup.py

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@llamapreview llamapreview Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LlamaPReview — No blocking issues found

The metadata and release-note changes are safe to merge: they correct the package homepage and planned release date while documenting the existing #120 lookup fix and its regression coverage.

Review details and evidence

LlamaPReview checks

  • Reviewed changed regions in CHANGELOG.md.

LlamaPReview is open source. Explore the code behind this review.

@suppagoddo

suppagoddo commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator Author

@cvas22 - All checks passed and I drafted this PR with Claude Code; I've read and stand behind all of it.

@suppagoddo
suppagoddo merged commit a5f0b1c into master Nov 23, 2026
16 checks passed
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.

2 participants