Skip to content

Chore/update to timely beliefs v3.5.5 - #2148

Merged
Flix6x merged 15 commits into
mainfrom
chore/update-to-timely-beliefs-v3.5.5
May 4, 2026
Merged

Chore/update to timely beliefs v3.5.5#2148
Flix6x merged 15 commits into
mainfrom
chore/update-to-timely-beliefs-v3.5.5

Conversation

@Flix6x

@Flix6x Flix6x commented May 4, 2026

Copy link
Copy Markdown
Member

Description

  • Update timely-beliefs to get rid of BlockManager deprecation warnings
  • Move to numpy v2
  • Update other dependencies, too
  • Added changelog item in documentation/changelog.rst

Look & Feel

$ uv lock --upgrade
Resolved 240 packages in 574ms
Updated altair v6.0.0 -> v6.1.0
Updated cbor2 v5.9.0 -> v6.0.1
Updated certifi v2026.2.25 -> v2026.4.22
Updated cryptography v46.0.7 -> v47.0.0
Added darts v0.41.0
Updated filelock v3.28.0 -> v3.29.0
Updated flask-swagger-ui v5.32.2 -> v5.32.5
Updated flask-wtf v1.2.2 -> v1.3.0
Updated greenlet v3.4.0 -> v3.5.0
Updated holidays v0.94 -> v0.96
Updated idna v3.11 -> v3.13
Updated llvmlite v0.47.0 -> v0.45.1, v0.47.0
Updated mako v1.3.11 -> v1.3.12
Updated matplotlib v3.10.8 -> v3.10.9
Updated mistune v3.2.0 -> v3.2.1
Updated mypy v1.20.1 -> v1.20.2
Updated narwhals v2.19.0 -> v2.20.0
Updated numba v0.65.0 -> v0.62.1, v0.65.1
Updated numpy v1.26.4 -> v2.2.6, v2.3.5
Updated openturns v1.26 -> v1.27
Updated packaging v26.1 -> v26.2
Updated pandas v2.2.1 -> v2.3.3
Updated pathspec v1.0.4 -> v1.1.1
Updated phonenumberslite v9.0.28 -> v9.0.29
Updated poethepoet v0.44.0 -> v0.45.0
Updated psycopg2-binary v2.9.11 -> v2.9.12
Updated pydantic v2.13.2 -> v2.13.3
Updated pydantic-core v2.46.2 -> v2.46.3
Updated pyopenssl v26.0.0 -> v26.1.0
Updated pytz v2026.1.post1 -> v2026.2
Updated sentry-sdk v2.58.0 -> v2.59.0
Updated shap v0.49.1 -> v0.49.1, v0.51.0
Updated types-cffi v2.0.0.20260408 -> v2.0.0.20260504
Updated types-requests v2.33.0.20260408 -> v2.33.0.20260503
Updated tzdata v2026.1 -> v2026.2
Updated u8darts v0.40.0 -> v0.41.0
Updated wtforms v3.2.1 -> v3.2.2

How to test

...

Further Improvements

...

Related Items

Closes #2078.

Flix6x added 6 commits May 4, 2026 17:31
Signed-off-by: F.N. Claessen <claessen@seita.nl>
…ors.InvalidSchemaName) schema "np" does not exist`

Signed-off-by: F.N. Claessen <claessen@seita.nl>
Signed-off-by: F.N. Claessen <claessen@seita.nl>
…n upgrades

Signed-off-by: F.N. Claessen <claessen@seita.nl>
Signed-off-by: F.N. Claessen <claessen@seita.nl>
Signed-off-by: F.N. Claessen <claessen@seita.nl>
@Flix6x Flix6x self-assigned this May 4, 2026
@Flix6x Flix6x added the dependencies Pull requests that update a dependency file label May 4, 2026
Flix6x added 3 commits May 4, 2026 21:23
Signed-off-by: F.N. Claessen <claessen@seita.nl>
…an diff

Signed-off-by: F.N. Claessen <claessen@seita.nl>
Signed-off-by: F.N. Claessen <claessen@seita.nl>
Copilot AI added a commit that referenced this pull request May 4, 2026
Context:
- PR #2148 failed with uv sync --locked after uv lock --upgrade
- Fork markers from impossible platform combos caused coverage check to fail

Change:
- Added pattern for diagnosing and fixing uv fork marker errors

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>
Copilot AI and others added 4 commits May 4, 2026 22:29
…d flag

The uv.lock fork markers included impossible platform combinations
(e.g. os_name == 'nt' and sys_platform == 'darwin') that uv could not
simplify when checking coverage against the full supported environment
space. Adding [tool.uv] environments restricts resolution to the three
real platforms (linux, darwin, win32), ensuring the fork markers
perfectly cover the declared environments and uv sync --locked succeeds.

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>
Context:
- File had grown to ~31KB with duplicated content
- File size limit is 30KB; file was at 30,997 bytes

Change:
- Removed 'Integration with Lead' block (duplicates Lead's session-close checklist)
- Removed 'Performance Impact' of db fixtures (covered by the decision tree)
- Removed '404 vs 422' code examples (covered by surrounding prose)
- Removed 'Test Execution Workflow (CRITICAL)' section (commands exist in other sections)

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>
Context:
- PR #2148 failed with uv sync --locked after uv lock --upgrade
- Fork markers from impossible platform combos caused coverage check to fail

Change:
- Added pattern for diagnosing and fixing uv fork marker errors

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>
Code review suggested documenting why the platform restrictions are
necessary to help future maintainers understand the fix.

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>
@Flix6x

Flix6x commented May 4, 2026

Copy link
Copy Markdown
Member Author

Comment I requested from copilot, but it had trouble posting on this PR (retrieved from session logs):


Fix for failing CI workflows

Root cause: uv sync --locked was failing because the uv.lock fork markers included impossible platform combinations (e.g., os_name == 'nt' AND sys_platform == 'darwin'). When uv checks that fork markers cover the full supported environment space (python_full_version >= '3.10' and python_full_version < '3.13'), it found a gap because these impossible combinations weren't being simplified away.

The warning message was:

warning: Resolving despite existing lockfile due to fork markers not covering the supported environments

And the sync failure was:

The lockfile at `uv.lock` needs to be updated, but `--locked` was provided.

This affected both the lint-and-test workflow (uv sync --locked --group test --group dev step) and the Docker image build (uv sync --locked --no-install-project inside the Dockerfile).

Fix: Added [tool.uv] environments to pyproject.toml to restrict dependency resolution to the three real platforms (linux, darwin, win32), then regenerated uv.lock. This eliminates the impossible platform combination forks and ensures the fork markers perfectly cover the declared environment space.

[tool.uv]
environments = [
    "sys_platform == 'linux'",
    "sys_platform == 'darwin'",
    "sys_platform == 'win32'",
]

The fix is available in commits:

  • f7dd9228 — fix: add uv environments config and regenerate uv.lock to fix --locked flag

These commits are on the copilot branch copilot/choreupdate-to-timely-beliefs-v3-5-5 (due to Copilot agent push limitations). To apply to this PR branch:

git fetch origin copilot/choreupdate-to-timely-beliefs-v3-5-5
git cherry-pick f7dd9228
git push

Note: The test-specialist.md agent instruction file was also trimmed from ~31KB to ~28KB (it was over the 30KB limit), and the tooling-ci-specialist.md was updated with the uv fork marker pattern for future reference.

Signed-off-by: F.N. Claessen <claessen@seita.nl>
@Flix6x Flix6x added the AI Infra label May 4, 2026
@Flix6x Flix6x added this to the 0.33.0 milestone May 4, 2026
@Flix6x
Flix6x requested a review from nhoening May 4, 2026 20:58
Comment thread pyproject.toml Outdated
Signed-off-by: F.N. Claessen <claessen@seita.nl>

@nhoening nhoening left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@Flix6x
Flix6x merged commit 1a3fa1a into main May 4, 2026
12 checks passed
@Flix6x
Flix6x deleted the chore/update-to-timely-beliefs-v3.5.5 branch May 4, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Infra dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logging is clogged with warnings

3 participants