Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Sep 22, 2025

Bumps formulaic from 1.1.1 to 1.2.1.

Release notes

Sourced from formulaic's releases.

v1.2.1

This is a minor release with only one change: fixing compatibility with the new string dtype in the upcoming release of Pandas 3. (#261)

v1.2.0

Breaking changes:

  • Formulaic now targets Python 3.9+ (dropping support for 3.7 and 3.8). (#234)
  • ModelSpec.required_variables (and all other .required_variables implementations) now only include the root variable name (e.g. a.fillna -> a), since this is expected to be used to validate that dataframes have the expected columns. The full variable usage is still exposed via .variables and related attributes. You can lookup the the root variable using the .root property of each Variable instance. (#254)

New features and enhancements:

  • We now use narwhals for all non-pandas dataframe types supported by narwhals (including polars dataframes and pyarrow tables). This should substantially improve performance for these types since historically the relevant parts of these dataframes were converted lazily to pandas objects. (#189)

Bugfixes and cleanups:

  • Fixed compatibility with Scipy 1.16+.
  • Factor instances no longer include backticks around factors evaluated using Python so that string representations can be interpreted correctly when parsed anew. (#256)
  • FactorValue types are now always unwrapped during categorical encoding due to issues with wrapped numpy arrays.
  • The entire code-base was updated to use Python 3.9+ typing annotation idioms.
  • The docsite is now versioned (allowing historical versions to be explored).
  • Various documentation typo fixes.

Special thanks to @​MarcoGorelli for his help in implementing Narwhals support.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [formulaic](https://github.com/matthewwardrop/formulaic) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/matthewwardrop/formulaic/releases)
- [Commits](matthewwardrop/formulaic@v1.1.1...v1.2.1)

---
updated-dependencies:
- dependency-name: formulaic
  dependency-version: 1.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant