#63325 closed defect (worksforme)
py-pip: Warning: Value for scheme.headers does not match
Reported by: | WolfgangFahl (Wolfgang Fahl) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mascguy (Christopher Nielsen), reneeotten (Renee Otten), jmroot (Joshua Root), danchr (Dan Villiom Podlaski Christiansen) | |
Port: | py-pip |
Description (last modified by mascguy (Christopher Nielsen))
See https://github.com/pypa/pip/issues/9617
The python developers are doing a field test on all python users with this warning while in fact this seems to be a macports issue.
Change History (12)
comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | reneeotten jmroot danchr added |
---|---|
Owner: | set to stromnov |
Port: | py-pip added |
Status: | new → assigned |
Adding a few others from issue:63320.
comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)
Description: | modified (diff) |
---|---|
Summary: | WARNING: Value for scheme.headers does not match → py-pip: Warning: Value for scheme.headers does not match |
comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)
It looks like this may have been addressed by Andrew in May:
comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)
Wolfgang, thanks for bringing this to our attention.
Given that this was resolved in May, can we close this? Or are you seeing an issue that we can assist with?
comment:7 Changed 3 years ago by WolfgangFahl (Wolfgang Fahl)
It affects me with the latest macports (updated yesterday). So what do i have to do?
comment:8 Changed 3 years ago by WolfgangFahl (Wolfgang Fahl)
The ticket here is for fixing the actual issue regarding distutils - not to switch of the warnings that points out the migration problem at hand.
comment:9 Changed 3 years ago by mascguy (Christopher Nielsen)
Our apologies, there was no mention of distutils
anywhere in this ticket. So we thought you were simply bringing the py-pip
warnings to our attention.
Can you update the summary and description, to reflect your issue?
comment:10 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
From what I can gather from the upstream issue, pip is printing this warning when distutils.sysconfig
has a different value for something than sysconfig
does. If there was a bug here it would be in the python ports, but as far as I can tell it's a non-issue.
comment:11 Changed 3 years ago by WolfgangFahl (Wolfgang Fahl)
I was hoping there would be a bit of proactivity.
Assuming normal CPython deprecation and release cycles, distutils will be deprecated in 3.10 and removed in 3.12.
The warning shows up in the macports env so i am assuming that the relevant python ports need to be addressed and not individual users like me.
comment:12 Changed 3 years ago by jmroot (Joshua Root)
OK, which sysconfig var do you think we have an incorrect value for, and what should it be instead? The only one we actually patch is LINKFORSHARED.
Also see discussion in semi-related issue:63320.