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

Update coconut requirement from <2.3.0,>=1.4.3 to >=1.4.3,<3.1.0 #517

Merged
merged 1 commit into from Jun 22, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 4, 2023

Updates the requirements on coconut to permit the latest version.

Release notes

Sourced from coconut's releases.

Coconut v3.0.0

Coconut v3! See Coconut's documentation for more information on all of the features listed below.

Note that v3 is a major version release that comes with some breaking changes, though Coconut will do its best to warn you if your code does anything that changed from v2 to v3.

Breaking changes:

  • #714: set patterns now work like dict patterns where they allow extra keys, such that {1, 2} will match {1, 2, 3}. To get back the strict behavior, use the {1, 2, 3, *()} pattern. Coconut will warn you if your code contains set patterns without an explicit strictness marker.
  • #707: the precedence of implicit function application has been changed to be compatible with implicit coefficients, such that f x**2 is now equivalent to f(x**2) rather than f(x)**2. Coconut will warn you if your code contains expressions with new precedence.
  • #733: .$[] will now only default to using an existing __getitem__ if the object is registered as a collections.abc.Sequence. __iter_getitem__ will still always be used. Lets you do things like {"k": "v"}$[0].
  • #730: obj. syntax as a shorthand for getattr$(obj) deprecated.
  • #732: --jobs now defaults to sys rather than 0.

New features:

  • #707: New implicit coefficient syntax! Polynomials are just a x**2 + b x + c, with support for single variable names and numeric constants as coefficients.
  • #731: New copyclosure def functions that copy their closures on function creation, allowing them to e.g. hold on to loop variables.
  • #709: (+) syntax in a typing context now yields a typing.Protocol that requires supporting that operator.
  • #709: New &: operator for combining multiple typing.Protocol's into a single protocol.
  • #718 (thanks @​yggdr!): You can now use addpattern def even if there's no existing function of that name, allowing you to use addpattern def for every pattern rather than having to use match def for the first one.
  • #727: New x |> await syntax for using await in pipes.
  • #734: Substantially improved pandas support.
  • #714: New frozenset and multiset patterns.

Bugfixes:

  • #725 (thanks @​yggdr!): Fixed (in) operator function argument ordering.
  • #721 (thanks @​yggdr!): is not and not in operator functions now supported.
  • #724 (thanks @​Starwort!): Coconut no longer slows down xonsh loading and fixed xontrib unload coconut.
  • #726 (thanks @​caedmon-kitty!): Fixed certain xonsh commands when using Coconut's xonsh plugin.
  • #723: dict now always functions as on the latest Python 3 on any Python version.
  • #728 (thanks @​yggdr!): Fixed super compatibility across Python versions and some cases where super() wouldn't work.
  • #717 (thanks @​kksgandhi!): Fixed coconut --jupyter qtconsole.
Commits

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 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.

Updates the requirements on [coconut](https://github.com/evhub/coconut) to permit the latest version.
- [Release notes](https://github.com/evhub/coconut/releases)
- [Commits](evhub/coconut@v1.4.3...v3.0.0)

---
updated-dependencies:
- dependency-name: coconut
  dependency-type: direct:production
...

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 May 4, 2023
@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (752d20f) 81.47% compared to head (9f5bbc4) 81.47%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #517   +/-   ##
=======================================
  Coverage   81.47%   81.47%           
=======================================
  Files          29       29           
  Lines        2618     2618           
=======================================
  Hits         2133     2133           
  Misses        485      485           
Flag Coverage Δ
pytests 81.47% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@choldgraf choldgraf merged commit 26b7013 into master Jun 22, 2023
11 checks passed
@dependabot dependabot bot deleted the dependabot/pip/coconut-gte-1.4.3-and-lt-3.1.0 branch June 22, 2023 08:51
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.

None yet

1 participant