Skip to content

Fix conda-package-streaming dependency missing#272

Merged
danyeaw merged 4 commits intoconda:mainfrom
danyeaw:fix-dependency
Mar 11, 2026
Merged

Fix conda-package-streaming dependency missing#272
danyeaw merged 4 commits intoconda:mainfrom
danyeaw:fix-dependency

Conversation

@danyeaw
Copy link
Member

@danyeaw danyeaw commented Mar 9, 2026

Description

Fixes #270 by adding conda-package-streaming as a dependency and reorganizing the dependencies. I also dropped a test introduced in #259. It was testing that extras in MatchSpec work, which isn't supported syntax yet. This test must have been passing by coincidence for that PR.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@danyeaw danyeaw requested a review from a team as a code owner March 9, 2026 20:37
@github-project-automation github-project-automation bot moved this to 🆕 New in 🔎 Review Mar 9, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 9, 2026

Merging this PR will degrade performance by 30.96%

❌ 1 (👁 1) regressed benchmark
✅ 4 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
👁 test_build_conda[imagesize] 51.1 ms 74.1 ms -30.96%

Comparing danyeaw:fix-dependency (3124364) with main (836a0f3)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (44812fe) during the generation of this report, so 836a0f3 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Copy link
Contributor

@soapy1 soapy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just 2 small questions!

It looks like the recipe already had the dependencies right 👍 But it looks like the conda-forge recipe is missing conda-package-streaming.

edit: nice, I see the follow up cf pr conda-forge/conda-pypi-feedstock#31

assert req.specifier == SpecifierSet(">=1.5.6,!=1.5.7")


def test_conda_install_with_extras_resolves_extra_deps(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will we want to re-introduce this test at some point? Is it worth commenting it out so that we don't forget re-enabling it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @soapy1, we would have to add this as a new conda feature to add extras to a MatchSpec with something like conda install requests[extras=socks] since using bracket syntax is already conflicts with the normal MatchSpec syntax. Once that is available, we could add tests here with it, but I'm not sure that we should keep it around for then. I feel a bit embarrassed that I added a test for something that couldn't be correct, my fault.

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Approved in 🔎 Review Mar 10, 2026
@danyeaw danyeaw merged commit 357187f into conda:main Mar 11, 2026
38 checks passed
@github-project-automation github-project-automation bot moved this from ✅ Approved to 🏁 Done in 🔎 Review Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🏁 Done

Development

Successfully merging this pull request may close these issues.

Missing conda-package-streaming as a dependency

3 participants