Skip to content

Update coconut requirement from ~=1.4.3 to >=1.4.3,<2.3.0#504

Merged
choldgraf merged 1 commit intomasterfrom
dependabot/pip/coconut-gte-1.4.3-and-lt-2.3.0
Apr 21, 2023
Merged

Update coconut requirement from ~=1.4.3 to >=1.4.3,<2.3.0#504
choldgraf merged 1 commit intomasterfrom
dependabot/pip/coconut-gte-1.4.3-and-lt-2.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 21, 2023

Updates the requirements on coconut to permit the latest version.

Release notes

Sourced from coconut's releases.

Coconut v2.2.0

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

Major changes:

  • #694: New multiset built-in based on collections.Counter, including new multiset literal syntax (m{1, 1, 2, 3, 3, 4}).
  • #691: New Expected built-in based on Haskell's Either, plus new safe_call built-in that calls a function while collecting any errors into an Expected. Additionally, the of built-in has been renamed to call (of is still available as a deprecated alias when compiled without --strict).
  • #701: New windowsof built-in for iterating over sliding windows of the given iterable.
  • #688: New cartesian_product built-in as an enhanced version of itertools.product including numpy support.
  • #690: New cycle built-in as an enhanced version of itertools.cycle.
  • #704, #703, #702, #693, #692: Lots of improvements to existing built-ins:
    • map now supports a strict=True keyword-only argument that works as in zip.
    • flatten now supports a levels argument for how many levels to flatten.
    • groupsof now supports a fillvalue argument to pad the last group.
    • addpattern now accepts any number of pattern-matching functions.
    • memoize now accepts a function to memoize as the first argument.
  • #710: New None-aware function composition pipes (e.g. f ..?> g).

Minor changes:

  • #686: Type parameter bounds can (and should) now use <: syntax instead of : or <= (e.g. def f[T <: int[])(xs: T) -> T = ...).
  • #711: Backwards None-aware pipes now supported (e.g. <?|).
  • #708: Pattern-matching against data types with default arguments now allows those defaults to be elided in the match.
  • #697: :: now produces a reiterable object when called on reiterable objects.
  • #706: Multiple Coconut projects should now be able to seamlessly use each other's MatchErrors when compiled in --package mode.
  • #695: Set literal syntax now supports star unpacking.
  • #699: Support for __bool__ magic method fixed on Python 2.
  • #687: Jupyter kernel and other automatic compilations now uses --no-wrap.
  • #685, #684: Improved detection of code issues on and off --strict.
  • #700: Some confusing unicode alternatives were removed.
  • #698: Typing for fmap has been improved.
  • #689: Improved numpy support for some built-ins.
  • #705: Many Coconut built-ins have now been made weakrefable.
Commits

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

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...v2.2.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 Apr 21, 2023
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 21, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (84949f5) 81.47% compared to head (65d994c) 81.47%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #504   +/-   ##
=======================================
  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.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ 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 17f9b5e into master Apr 21, 2023
@dependabot dependabot bot deleted the dependabot/pip/coconut-gte-1.4.3-and-lt-2.3.0 branch April 21, 2023 12:22
agoose77 pushed a commit to aleivag/MyST-NB that referenced this pull request Jun 23, 2023
…ebooks#504)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

1 participant