Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 15, 2025

Bumps formulaic from 1.1.1 to 1.2.0.

Release notes

Sourced from formulaic's releases.

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
  • 61d9bdd 1.2.0
  • 86ee6e7 Fully unit test narwhals backend.
  • e710f7a Fix type in splines documentation.
  • d2596ef Avoid quoting in backticks factors with eval_method of type python. (#256)
  • 9f472c8 fix typo (#246)
  • 955d664 Only indicate root variables in required_variables. (#254)
  • c32d897 Fix misleading docs around passing in available variable overrides. (#252)
  • 72bc9f9 Pin sparse output format to csc for consistency across all scipy versions. ...
  • 497b2f7 Always unwrap factor values before use due to unfortunate interactions with n...
  • 8552610 Add narwhals materializer for dataframe agnosticism. (#189)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

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

---
updated-dependencies:
- dependency-name: formulaic
  dependency-version: 1.2.0
  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 Jul 15, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 22, 2025

Superseded by #28.

@dependabot dependabot bot closed this Sep 22, 2025
@dependabot dependabot bot deleted the dependabot/uv/formulaic-1.2.0 branch September 22, 2025 17:58
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