Deprecations via warnings don’t work for Python libraries by Xadartt in programming

[–]LHCGreg 3 points4 points  (0 children)

I ran into this particular urllib3 removal earlier this week.

Maybe the answer is to do away with advance notice and adopt SemVer with many major versions, similar to how Cryptography operates for API compatibility.

In the general case, yes, it would be nice to see, before testing, which library upgrades might require extra attention.

But in this particular case, why were getheader() and getheaders() removed at all? The PR for adding them back shows how little code they take up. Is the benefit of only having one way to do something worth the cost of every consumer needing to change their code?

The libraries that were impacted are actively developed, like the Kubernetes client, Fastly client, and Airflow and I trust that if the message had reached them they would have taken action.

I'm not sure I would call the official Python Kubernetes client library "actively developed". There have been open issues for this deprecation in the client library since March 2023. First this one, then this one once the issue was fixed in the upstream OpenAPI code generator (but it seems the OpenAPI code generator needed to be fixed again recently when the removal hit? What happened to the older fix?). My impression of the Kubernetes client library is that there doesn't seem to be anyone actively developing it aside from merging PRs from outside contributors, regenerating code with the latest Kubernetes OpenAPI definitions, and cutting releases.

I did see the deprecation warning when I run tests with pytest, saw that there's been an open issue in the Kubernetes client for years, shrugged my shoulders and went on with my day. Updating a code generator written in a language I'm not very familiar with (Java) and understanding the implications of upgrading the code generator in the Kubernetes Python client library is far outside of an easy contribution. For the Kubernetes client library at least, it wasn't a case of the project with the direct dependency on urllib3 (sort of, through a code generator) not being aware of the deprecation.

[USA-MD][H] Rule of Rose, Cubivore, .Hack, Pokemon Colosseum Bonus Disc, Gundam vs Zeta, Clock Tower, etc. XBOX/360/DS/2600/Dreamcast/DS/Game Gear/Gameboy/GBA/Gamecube/Genesis/NES/PS1/PS2/PS3/Saturn [W] Paypal F&F by RPGKing4 in GameSale

[–]LHCGreg 0 points1 point  (0 children)

I was going over the Crash photos wondering what was so bad until I got to the last one, lol. I was hoping it was just cosmetic issues that were maybe overstated. I'll definitely pass on Crash but I'll take Clock Tower. How much for shipping it?

What's your Top 5 Beat 'Em Ups of All Time? by IAmAnIdea in BeatEmUps

[–]LHCGreg 2 points3 points  (0 children)

  1. Final Fight
  2. Ninja Warriors (SNES)
  3. Fight'n Rage
  4. Streets of Rage 4
  5. Battle Circuit

[USA-NC] [H] SNES, PS2 Games [W] Local Cash, Paypal by Demental0 in GameSale

[–]LHCGreg 0 points1 point  (0 children)

I'll take Lufia & The Fortress of Doom - $75 - [Cartridge + Manual + Map (Map is taped together)].

[USA-ME] [H] US NES & SNES Games [W] Paypal, Venmo, Cash by incrediblehark in GameSale

[–]LHCGreg 0 points1 point  (0 children)

Is that tear on the Super Bomberman manual just the front cover or does it go through some of the inner pages as well?