brightway-lca / brightway2-data

Tools for the management of inventory databases and impact assessment methods. Part of the Brightway LCA framework.
https://docs.brightway.dev/
BSD 3-Clause "New" or "Revised" License
8 stars 21 forks source link

Replace `requests` with `urllib` #151

Closed michaelweinold closed 11 months ago

michaelweinold commented 11 months ago

Related:

The pysocks package feedstock uses virtual packages, which causes an issue during the JupyterLite build process. Since there are only two functions that use requests, we could replace them with the Python library urllib. This is just a PoC at this point.

michaelweinold commented 11 months ago

...the two functions were mostly Copilot-generated 🤖, I would need to check them in detail after you have your say, @cmutel.