executablebooks / MyST-NB

Parse and execute ipynb files in Sphinx
https://myst-nb.readthedocs.io
BSD 3-Clause "New" or "Revised" License
201 stars 81 forks source link

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

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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.

codecov[bot] commented 1 year ago

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 ```diff @@ 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](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=executablebooks#carryforward-flags-in-the-pull-request-comment) to find out more.

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