Closed AstraLuma closed 9 months ago
Exciting!.. and I don't even think we touched the downloaders recently, so that must be an old bug >_>'
@AstraLuma Could you test whether #346 fixes your issue?
Looks like it works locally.
@AstraLuma what version of Python do you use locally? I suspect it's a Python 3.12 API change.
EDIT: Nope, it's not. Documentation for ConfigParser.get
hasn't changed since at least 3.8. No idea what's up.
The more I dig into this, the more confused I get.
First, I'm confused why it's breaking now, because:
get()
hasn't been touched in 13 years: https://github.com/python/cpython/blame/main/Lib/configparser.py#L695-L730 (only a few lines of the docstring were touched last year.)optionxform()
hasn't been touched in 23 years: https://github.com/python/cpython/blame/ac4b44266d61651aea5928ce7d3fae4de226f83d/Lib/configparser.py#L804-L805And second I'm confused because... bork build
shouldn't be interacting with this part of the codebase, yet it clearly is. I think this boils down to how and where bork.api.DOWNLOAD_SOURCES
is defined. It might make sense to move that definition into bork.api.download()
.
I think this bug was lurking there as long as bork download
has existed, but only shows up if #339 / #349 (not specifying project.name
in pyproject.toml
) becomes relevant.