这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@johanneskoester
Copy link
Contributor

@johanneskoester johanneskoester commented May 17, 2023

Otherwise, conda misses JSONDecodeErrors generated by simplejson if that is in the same env and thereby used by the requests package for decoding the json response. In turn, this can lead to aborting source download after trying the first given source in a meta.yaml instead of trying all of them.
Also see requests JSONDecodeError implementation, which either inherits from simplejson's JSONDecodeError or from the Python std libs json.JSONDecodeError.

Description

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

…ty with different json implementations used by requests

Otherwise, conda misses JSONDecodeErrors generated by simplejson if that is in the same env and thereby used by the requests package for decoding the json response.
In turn, this can lead to aborting source download after trying the first given source in a meta.yaml instead of trying all of them.
@johanneskoester johanneskoester requested a review from a team as a code owner May 17, 2023 14:47
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label May 17, 2023
jezdez
jezdez previously approved these changes Jun 7, 2023
@jezdez
Copy link
Member

jezdez commented Jun 7, 2023

@johanneskoester I can't use GitHub's merge conflict resolution due to issues on their side, but this looks good to me, and I'd appreciate a rebase if you have time.

@kenodegard kenodegard merged commit 7a2e5b0 into conda:main Jun 14, 2023

[tool.hatch.version.raw-options]
local_scheme = "dirty-tag"
version_scheme = "calver-by-date"
Copy link
Contributor

Choose a reason for hiding this comment

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

Whoops, this was accidentally added back (removed in #12708)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants