Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump prql-python from 0.10.1 to 0.11.0 #312

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 20, 2023

Bumps prql-python from 0.10.1 to 0.11.0.

Release notes

Sourced from prql-python's releases.

0.11.0 introduces new date, string & math modules with lots of standard functions, including a new date.to_text function. It contains a few bugs fixes, and lots of internal improvements to the compiler.

This release has 119 commits from 9 contributors. Selected changes:

Language:

  • Breaking: group's by columns are now excluded from the partition. (#3490)
  • Breaking: round is now in the math module and needs to be called via math.round. (#3928)
  • Breaking: lower and upper are now in the text module and need to be called via text.lower and text.upper. (#3913, #3973)

Features:

  • The std.in function now supports a list of values (@​PrettyWood, #3883)
  • Most standard mathematical functions are now supported: abs, floor, ceil, pi, exp, ln, log10, log, sqrt, degrees, radians, cos, acos, sin, asin, tan, atan, pow and round. Those functions are in the math module (@​PrettyWood, #3909, #3916 & 3928)
  • Most standard string functions are now supported: ltrim, rtrim, trim, length, extract, replace. Utility functions starts_with, contains and ends_with are also available. Those functions are in the text module (@​PrettyWood, #3913, #3973)
  • Formatting a date to a text is now available for Clickhouse, DuckDB, MySQL, MSSQL and Postgres. A new date module has been added with the to_text function (@​PrettyWood, #3951, #3954 & #3955)

Fixes:

Web:

Internal changes:

New Contributors:

Changelog

Sourced from prql-python's changelog.

0.11.0 — 2023-12-19

0.11.0 introduces new date, string & math modules with lots of standard functions, including a new date.to_text function. It contains a few bugs fixes, and lots of internal improvements to the compiler.

This release has 119 commits from 9 contributors. Selected changes:

Language:

  • Breaking: group's by columns are now excluded from the partition. (#3490)
  • Breaking: round is now in the math module and needs to be called via math.round. (#3928)
  • Breaking: lower and upper are now in the text module and need to be called via text.lower and text.upper. (#3913, #3973)

Features:

  • The std.in function now supports a list of values (@​PrettyWood, #3883)
  • Most standard mathematical functions are now supported: abs, floor, ceil, pi, exp, ln, log10, log, sqrt, degrees, radians, cos, acos, sin, asin, tan, atan, pow and round.
    Those functions are in the math module (@​PrettyWood, #3909, #3916 & 3928)
  • Most standard string functions are now supported: ltrim, rtrim, trim, length, extract, replace. Utility functions starts_with, contains and ends_with are also available.
    Those functions are in the text module (@​PrettyWood, #3913, #3973)
  • Formatting a date to a text is now available for Clickhouse, DuckDB, MySQL, MSSQL and Postgres. A new date module has been added with the to_text function (@​PrettyWood, #3951, #3954 & #3955)

Fixes:

Documentation:

Web:

Integrations:

Internal changes:

... (truncated)

Commits
  • 7f9b5df docs: 0.11.0 changelog (#3966)
  • da98acd docs(CHANGELOG): Vite and Lezer (#3967)
  • 8781b19 refactor: rename string module into text (#3973)
  • b6e5ba9 docs: details on new added modules (#3971)
  • 94e4dae docs: Fix confusion: "celsius_to_fahrenhent" is more clear ... (#3972)
  • 9571dab fix: Correct division precedence without paretheses everywhere (#3970)
  • fa4b48b feat: add date.to_text for MySQL, Postgres, MSSQL and Clickhouse + doc (#3955)
  • c219ac2 fix: Patch division precedence issues (#3969)
  • 880fdc1 chore: bump actions/deploy-pages from 3.0.1 to 4.0.0 (#3964)
  • 5ecf909 devops: Update ics file for new dev call time (#3961)
  • 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 [prql-python](https://github.com/PRQL/prql) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/PRQL/prql/releases)
- [Changelog](https://github.com/PRQL/prql/blob/main/CHANGELOG.md)
- [Commits](PRQL/prql@0.10.1...0.11.0)

---
updated-dependencies:
- dependency-name: prql-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 20, 2023
@max-sixty max-sixty merged commit 5fae1a9 into main Dec 20, 2023
6 checks passed
@max-sixty max-sixty deleted the dependabot/pip/prql-python-0.11.0 branch December 20, 2023 19:14
@eitsupi
Copy link
Member

eitsupi commented Dec 21, 2023

@max-sixty I think you have missed the release process.

  1. Prease run the release job of the GHA, should not tag by hand.
  2. Do not commit breaking changes with a comment starts with chore .

@eitsupi
Copy link
Member

eitsupi commented Dec 21, 2023

Currently, I am on a business trip and cannot do the release work.
The correct procedure is to commit with prql-python pinned to 0.11 as "feat!" and then trigger GHA.

@max-sixty
Copy link
Member

OK great — how's #313 ? Then I'll start the GHA once we've merged that.

Do not commit breaking changes with a comment starts with chore .

But should we not use dependabot, then? Or we need to change the dependabot settings to include a !?

@eitsupi
Copy link
Member

eitsupi commented Dec 21, 2023

Yes, we'll probably need to update dependabot configuration to ignore prql-python.

@max-sixty
Copy link
Member

Yes, we'll probably need to update dependabot configuration to ignore prql-python.

OK.

I worry we forget, then. Maybe we can configure it to add a ! in the PR title...

@eitsupi
Copy link
Member

eitsupi commented Dec 21, 2023

I worry we forget, then. Maybe we can configure it to add a ! in the PR title...

I think the problem here is that the version of prql-python changes whether or not the PR title should have an ! or not.
Also, as in this PR, dependabot seems to loosen the version dependency in the first place, so I have to change this as well, but I don't know if it can be configured that way.
In general, I'm afraid dependabot isn't useful here.

@max-sixty
Copy link
Member

Also, as in this PR, dependabot seems to loosen the version dependency in the first place, so I have to change this as well, but I don't know if it can be configured that way.

Yes, this does seem weird...

Maybe dependabot is the reminder but we don't use it! 🤷

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 Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants