Skip to content

Conversation

soapy1
Copy link
Contributor

@soapy1 soapy1 commented Jul 16, 2025

Description

This is causing test failures in conda-build

ImportError while loading conftest '/home/runner/work/conda-build/conda-build/tests/conftest.py'.
tests/conftest.py:16: in <module>
    import conda_build
conda_build/__init__.py:43: in <module>
    reset_context()
/usr/share/miniconda/envs/test/lib/python3.[13](https://github.com/conda/conda-build/actions/runs/16329396754/job/46127863285?pr=5750#step:10:14)/site-packages/conda/base/context.py:2040: in reset_context
    from ..plugins.config import PluginConfig
/usr/share/miniconda/envs/test/lib/python3.13/site-packages/conda/plugins/__init__.py:28: in <module>
    from .types import (  # noqa: F401
/usr/share/miniconda/envs/test/lib/python3.13/site-packages/conda/plugins/types.py:[19](https://github.com/conda/conda-build/actions/runs/16329396754/job/46127863285?pr=5750#step:10:20): in <module>
    from ..models.records import PackageRecord
/usr/share/miniconda/envs/test/lib/python3.13/site-packages/conda/models/records.py:22: in <module>
    from ..auxlib.entity import (
/usr/share/miniconda/envs/test/lib/python3.13/site-packages/conda/auxlib/entity.py:255: in <module>
    from .logz import DumpEncoder
/usr/share/miniconda/envs/test/lib/python3.13/site-packages/conda/deprecations.py:329: in __getattr__
    return super_getattr(name)
           ^^^^^^^^^^^^^^^^^^^
/usr/share/miniconda/envs/test/lib/python3.13/site-packages/conda/deprecations.py:329: in __getattr__
    return super_getattr(name)
           ^^^^^^^^^^^^^^^^^^^
/usr/share/miniconda/envs/test/lib/python3.13/site-packages/conda/deprecations.py:3[25](https://github.com/conda/conda-build/actions/runs/16329396754/job/46127863285?pr=5750#step:10:26): in __getattr__
    warnings.warn(message, category, stacklevel=3 + stack)
E   PendingDeprecationWarning: conda.auxlib.logz.DumpEncoder is pending deprecation and will be removed in [26](https://github.com/conda/conda-build/actions/runs/16329396754/job/46127863285?pr=5750#step:10:27).9. Use `conda.common.serialize.json.CondaJSONEncoder` instead.

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?

@github-project-automation github-project-automation bot moved this to 🆕 New in 🔎 Review Jul 16, 2025
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Jul 16, 2025
@soapy1 soapy1 marked this pull request as ready for review July 16, 2025 20:35
@soapy1 soapy1 requested a review from a team as a code owner July 16, 2025 20:35
Copy link
Contributor

@dholth dholth left a comment

Choose a reason for hiding this comment

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

Thanks!

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Approved in 🔎 Review Jul 16, 2025
Copy link

codspeed-hq bot commented Jul 16, 2025

CodSpeed Instrumentation Performance Report

Merging #15015 will not alter performance

Comparing soapy1:remove-dumpencoder (bd8e75f) with main (89862dd)

Summary

✅ 21 untouched benchmarks

@travishathaway travishathaway merged commit 2d15e07 into conda:main Jul 23, 2025
75 checks passed
@github-project-automation github-project-automation bot moved this from ✅ Approved to 🏁 Done in 🔎 Review Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants