Skip to content

chore: enrich PyPI metadata (keywords, classifiers, project urls)#216

Merged
lesnik512 merged 6 commits into
mainfrom
chore/pyproject-metadata
Jun 20, 2026
Merged

chore: enrich PyPI metadata (keywords, classifiers, project urls)#216
lesnik512 merged 6 commits into
mainfrom
chore/pyproject-metadata

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
tests/providers/test_local_singleton.py 100.00% <100.00%> (ø)
that_depends/providers/base.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

lesnik512 and others added 3 commits June 20, 2026 17:38
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ead-local test

- annotate stack as list[AbstractProvider[Any]] so .extend(provider._children)
  (a set[AbstractProvider[Any]]) type-checks under pyrefly
- test_thread_local_singleton_different_threads used random.randint(1,100) as the
  factory, so two of ten threads could draw the same value and fail spuriously;
  use threading.get_ident (unique per thread) and assert all results are distinct

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 closed this Jun 20, 2026
@lesnik512 lesnik512 reopened this Jun 20, 2026
lesnik512 and others added 2 commits June 20, 2026 18:16
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
threading.get_ident is unreliable as the factory: thread ids are recycled once
a thread exits, so on a fast runner where the 10 threads run near-sequentially
every thread observes the same recycled id and set(results) collapses to 1.
Use an atomic itertools.count so each per-thread factory call yields a distinct
value regardless of scheduling.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 merged commit bb4bad5 into main Jun 20, 2026
12 checks passed
@lesnik512 lesnik512 deleted the chore/pyproject-metadata branch June 20, 2026 16:20
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.

1 participant