Skip to content

Use setuptools<82.0.0#3388

Merged
pingsutw merged 7 commits intomasterfrom
fix-test2
Feb 12, 2026
Merged

Use setuptools<82.0.0#3388
pingsutw merged 7 commits intomasterfrom
fix-test2

Conversation

@pingsutw
Copy link
Member

@pingsutw pingsutw commented Feb 12, 2026

Tracking issue

NA

Why are the changes needed?

unit tests are failing

/opt/hostedtoolcache/Python/3.12.12/arm64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/flytekit/unit/core/test_type_engine.py:24: in <module>
    from marshmallow_jsonschema import JSONSchema
/opt/hostedtoolcache/Python/3.12.12/arm64/lib/python3.12/site-packages/marshmallow_jsonschema/__init__.py:1: in <module>
    from pkg_resources import get_distribution
E   ModuleNotFoundError: No module named 'pkg_resources'

What changes were proposed in this pull request?

The issue was that setuptools 82.0.0 (the latest version) removed pkg_resources entirely. I downgraded to setuptools 69.5.1, which still includes it

How was this patch tested?

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
@pingsutw pingsutw changed the title Fix unit test Use setuptools<82.0.0 Feb 12, 2026
Signed-off-by: Kevin Su <pingsutw@apache.org>
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.58%. Comparing base (bf665b9) to head (4f2793c).
⚠️ Report is 13 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (bf665b9) and HEAD (4f2793c). Click for more details.

HEAD has 17 uploads less than BASE
Flag BASE (bf665b9) HEAD (4f2793c)
18 1
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3388       +/-   ##
===========================================
- Coverage   93.86%   83.58%   -10.28%     
===========================================
  Files          76        3       -73     
  Lines        3360      195     -3165     
===========================================
- Hits         3154      163     -2991     
+ Misses        206       32      -174     

☔ 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.

Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
pandas: "pandas<2.0.0"
- numpy: "numpy<2.0.0"
pandas: "pandas>=2.0.0"
- pandas: "pandas<2.0.0"
Copy link
Member Author

Choose a reason for hiding this comment

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

padnas 1 doesn't support python 3.12

@pingsutw pingsutw merged commit c4a8125 into master Feb 12, 2026
56 checks passed
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.

2 participants