Skip to content

Docs: add troubleshooting for Simple API JSON mirroring#2145

Merged
cooperlees merged 19 commits intopypa:mainfrom
vani2009:docs/simple-api-json-troubleshooting
Feb 12, 2026
Merged

Docs: add troubleshooting for Simple API JSON mirroring#2145
cooperlees merged 19 commits intopypa:mainfrom
vani2009:docs/simple-api-json-troubleshooting

Conversation

@vani2009
Copy link
Contributor

@vani2009 vani2009 commented Feb 6, 2026

Adds a troubleshooting section describing common JSON vs HTML Simple API
issues when mirroring from another mirror.

Includes:

  • Content-Type mismatch error explanation
  • How to verify JSON endpoint
  • Clarifies no automatic fallback behavior

This should help users debugging chained mirror setups.

@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.84%. Comparing base (4d020e8) to head (9926175).
⚠️ Report is 478 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2145      +/-   ##
==========================================
+ Coverage   79.69%   88.84%   +9.14%     
==========================================
  Files          31       34       +3     
  Lines        4324     4015     -309     
  Branches      780      396     -384     
==========================================
+ Hits         3446     3567     +121     
+ Misses        721      312     -409     
+ Partials      157      136      -21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

Please apply changes suggested on #2144 and probably close that one

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
implements the Simple Repository API (PEP 503). This allows you to create
implements the Simple Repository API (PEP 503 + 691). This allows you to create

dependabot bot and others added 9 commits February 11, 2026 15:19
Bumps [s3path](https://github.com/liormizr/s3path) from 0.6.4 to 0.6.5.
- [Release notes](https://github.com/liormizr/s3path/releases)
- [Commits](liormizr/s3path@0.6.4...0.6.5)

---
updated-dependencies:
- dependency-name: s3path
  dependency-version: 0.6.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [packaging](https://github.com/pypa/packaging) from 25.0 to 26.0.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@25.0...26.0)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '26.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cooper Lees <me@cooperlees.com>
Bumps [coverage](https://github.com/coveragepy/coveragepy) from 7.13.2 to 7.13.3.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.13.2...7.13.3)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.13.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cooper Lees <me@cooperlees.com>
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.10.2 to 82.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v80.10.2...v82.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 82.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cooper Lees <me@cooperlees.com>
* Build(deps): Bump boto3 from 1.42.40 to 1.42.44

Bumps [boto3](https://github.com/boto/boto3) from 1.42.40 to 1.42.44.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](boto/boto3@1.42.40...1.42.44)

---
updated-dependencies:
- dependency-name: boto3
  dependency-version: 1.42.44
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update botocore version to 1.42.44

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cooper Lees <me@cooperlees.com>
@vani2009
Copy link
Contributor Author

pre-commit.ci autofix

@vani2009
Copy link
Contributor Author

pre-commit.ci autofix

@vani2009 vani2009 requested a review from cooperlees February 11, 2026 11:06
Copy link
Contributor

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

Just little cleanup then I'll merge this! Thanks for all your work.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we delete this file please, we don't use this.

@vani2009 vani2009 force-pushed the docs/simple-api-json-troubleshooting branch from c582e79 to 9c884b4 Compare February 12, 2026 08:00
@vani2009
Copy link
Contributor Author

pre-commit.ci autofix

@vani2009
Copy link
Contributor Author

Thanks! I’ve removed the unused changelog.d file and moved the entry under Unreleased in CHANGES.md. All requested changes should now be addressed.

Copy link
Contributor

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

I hate to do this, but can you remove the newsfragments files please.

@vani2009 vani2009 force-pushed the docs/simple-api-json-troubleshooting branch from 54024b8 to b819516 Compare February 12, 2026 20:23
@vani2009
Copy link
Contributor Author

pre-commit.ci autofix

Copy link
Contributor

@cooperlees cooperlees left a comment

Choose a reason for hiding this comment

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

Thanks for working through all the reviews! Appreciate it.

@cooperlees cooperlees merged commit 53280f8 into pypa:main Feb 12, 2026
15 of 16 checks passed
@vani2009
Copy link
Contributor Author

Thank you for the review and guidance — really appreciate it!

@vani2009 vani2009 deleted the docs/simple-api-json-troubleshooting branch February 12, 2026 20:31
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

Comments