Skip to content

Comments

Repair CI after setuptools removed pkg_resources#1647

Merged
TimPansino merged 5 commits intomainfrom
fix-pyramid
Feb 11, 2026
Merged

Repair CI after setuptools removed pkg_resources#1647
TimPansino merged 5 commits intomainfrom
fix-pyramid

Conversation

@TimPansino
Copy link
Contributor

@TimPansino TimPansino commented Feb 9, 2026

Overview

  • pkg_resouces was removed in setuptools>=82, which various packages were relying on.
    • Fix Pyramid tests by pinning this version in tox for Pyramid tests.
    • Fix Azure Functions ProtoC generation by pinning setuptools in install script.
    • Remove Cassandra PyPy tests (no wheels available, and it refuses to try to build with older setuptools).
  • Fix benchmarks all failing when one does to get the benchmarks to cooperate.

@TimPansino TimPansino requested a review from a team as a code owner February 9, 2026 23:03
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 7 0 0 0.91s
✅ MARKDOWN markdownlint 7 0 0 0 1.31s
✅ PYTHON ruff 967 0 0 0 1.01s
✅ PYTHON ruff-format 967 0 0 0 0.37s
✅ YAML prettier 15 0 0 0 1.44s
✅ YAML v8r 15 0 0 5.46s
✅ YAML yamllint 15 0 0 0.66s

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

@mergify mergify bot added the tests-failing Tests failing in CI. label Feb 9, 2026
@codecov-commenter
Copy link

codecov-commenter commented Feb 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.68%. Comparing base (80f4a3c) to head (62ff257).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1647      +/-   ##
==========================================
- Coverage   83.28%   81.68%   -1.61%     
==========================================
  Files         215      210       -5     
  Lines       29272    24655    -4617     
  Branches     5198     3884    -1314     
==========================================
- Hits        24379    20139    -4240     
+ Misses       3458     3201     -257     
+ Partials     1435     1315     -120     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

lrafeei
lrafeei previously approved these changes Feb 9, 2026
@TimPansino TimPansino enabled auto-merge (squash) February 9, 2026 23:42
lrafeei
lrafeei previously approved these changes Feb 9, 2026
@TimPansino TimPansino changed the title Fix Pyramid Tests Repair CI after setuptools removed pkg_resources Feb 11, 2026
@mergify mergify bot removed the tests-failing Tests failing in CI. label Feb 11, 2026
@TimPansino TimPansino merged commit 6cfc602 into main Feb 11, 2026
105 of 107 checks passed
@TimPansino TimPansino deleted the fix-pyramid branch February 11, 2026 21:21
TimPansino added a commit that referenced this pull request Feb 14, 2026
* Update output message timestamping. (#1627)

* Update output message timestamping.

* Fix LangChain tests.

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Guard Azure Functions Utilization (#1632)

* Add guard to azure functions utilization for crashes

* Add regression test

* Improve Strands Tool Error Capturing (#1623)

* Overhaul Strands Agents testing

* Add better error instrumentation to strands tools

* Expand testing for strands tools

* Add better guarding to register_tool instrumentation

* Fix up test logic

* Add tool_id to all strands errors

* Add log message

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Add support for BaseException instances as arguments to notice_error (#1571)

* Update implementation of notice_error

* Clean up test_notice_error file

* Add tests for notice_error with exception instances

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* LangGraph Instrumentation

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* LangChain Agents Instrumentation

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Update tox versions for LangChain / LangGraph

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Move GeneratorProxy from Strands to common file

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* More verbose logging in validate_custom_events

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Improve prompt logging for mock openai server

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Tweak langchain test folder structure

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Update Chain tests

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* New Agent testing

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* New Tool testing

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Expand Test Matrixing

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Newly recorded responses for LangChain

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Patch incorrect super() call in GeneratorProxy

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Better entry point for agent exception testing

* Update AgentObjectProxy to include transform() methods

Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>

* Update event counts in RunnableSequence tests

* Reformatting to kwargs

* Formatting

* Remove storage of agent name on transaction

* Instrument RunnableSequence.stream and astream

* Add correct event counts

* Guard metadata additions

* Add alternate source for agent_name

* Pin lower bound of langchain tests

* Implement tee() and __copy__() for GeneratorProxy

* Slight tweaks

* Fixups.

* Fix pyramid by pinning setuptools (#1647)

* Bump the github_actions group across 1 directory with 7 updates (#1657)

Bumps the github_actions group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `6.0.1` | `6.0.2` |
| [actions/setup-python](https://github.com/actions/setup-python) | `6.1.0` | `6.2.0` |
| [docker/login-action](https://github.com/docker/login-action) | `3.6.0` | `3.7.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `6.18.0` | `6.19.1` |
| [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) | `3.1.0` | `3.2.0` |
| [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | `7.2.0` | `7.3.0` |
| [github/codeql-action](https://github.com/github/codeql-action) | `4.31.10` | `4.32.2` |



Updates `actions/checkout` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@8e8c483...de0fac2)

Updates `actions/setup-python` from 6.1.0 to 6.2.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@83679a8...a309ff8)

Updates `docker/login-action` from 3.6.0 to 3.7.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@5e57cd1...c94ce9f)

Updates `docker/build-push-action` from 6.18.0 to 6.19.1
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@2634353...601a80b)

Updates `actions/attest-build-provenance` from 3.1.0 to 3.2.0
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](actions/attest-build-provenance@00014ed...96278af)

Updates `astral-sh/setup-uv` from 7.2.0 to 7.3.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](astral-sh/setup-uv@61cb8a9...eac588a)

Updates `github/codeql-action` from 4.31.10 to 4.32.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@cdefb33...45cbd0c)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_actions
- dependency-name: actions/setup-python
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: docker/login-action
  dependency-version: 3.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: docker/build-push-action
  dependency-version: 6.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: actions/attest-build-provenance
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: astral-sh/setup-uv
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
- dependency-name: github/codeql-action
  dependency-version: 4.32.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Uma Annamalai <uannamalai@newrelic.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Uma Annamalai <umaannamalai@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@TimPansino TimPansino added this to the v11.5.0 milestone Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants