Problem
requests and urllib3>=2 are still listed in environment.yml, and the notebooks optional-dependency group is still in pyproject.toml. Both exist only to keep the deprecated quantecon/util/notebooks.py working and testable through its final release.
They cannot be removed on their own: the CI test environment is built from environment.yml, and quantecon/util/tests/test_notebooks.py exercises fetch_nb_dependencies over the network while the module still ships. So this is gated on the module removal itself, and the whole set should land together in v1.0.
Background
fetch_nb_dependencies was deprecated in 0.12.0 (#953) after the July 2026 audit established it has no remaining constituency — no usage in any of the lecture repositories, and the callers that exist are dormant notebooks descending from two 2017-era demos. Its default remote, QuantEcon/QuantEcon.notebooks, was last pushed 2023-07-15. Data still required lives in QuantEcon/data-lectures.
Three PRs and one issue were closed on the strength of that decision: #870, #904, #905.
Tasks
Acceptance criteria
Follows #953. Completes #880.
Problem
requestsandurllib3>=2are still listed inenvironment.yml, and thenotebooksoptional-dependency group is still inpyproject.toml. Both exist only to keep the deprecatedquantecon/util/notebooks.pyworking and testable through its final release.They cannot be removed on their own: the CI test environment is built from
environment.yml, andquantecon/util/tests/test_notebooks.pyexercisesfetch_nb_dependenciesover the network while the module still ships. So this is gated on the module removal itself, and the whole set should land together in v1.0.Background
fetch_nb_dependencieswas deprecated in 0.12.0 (#953) after the July 2026 audit established it has no remaining constituency — no usage in any of the lecture repositories, and the callers that exist are dormant notebooks descending from two 2017-era demos. Its default remote,QuantEcon/QuantEcon.notebooks, was last pushed 2023-07-15. Data still required lives in QuantEcon/data-lectures.Three PRs and one issue were closed on the strength of that decision: #870, #904, #905.
Tasks
quantecon/util/notebooks.pyandquantecon/util/tests/test_notebooks.pyfetch_nb_dependenciesfromquantecon/util/__init__.pyand from the top-levelquantecon/__init__.pyexport listdocs/source/util/notebooks.rstand its entry indocs/source/util.rstnotebooksoptional-dependency group frompyproject.tomlrequestsandurllib3>=2fromenvironment.ymlenvironment_np2.ymland the conda-forge feedstock for the same entriesAcceptance criteria
grep -rn "requests\|fetch_nb_dependencies" quantecon environment*.yml pyproject.tomlreturns nothingrequestsnorurllib3installedFollows #953. Completes #880.