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

fix(deps): update dependency libcst to v1 #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 25, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
libcst (changelog) 0.4.10 -> 1.4.0 age adoption passing confidence

Release Notes

Instagram/LibCST (libcst)

v1.4.0

Compare Source

Fixed

Added

New Contributors

Full Changelog: Instagram/LibCST@v1.3.1...v1.4.0

v1.3.1

Compare Source

Fixed

v1.3.0

Compare Source

Updated

v1.2.0

Compare Source

Updated

Added

Fixed

New Contributors

Full Changelog: Instagram/LibCST@v1.1.0...v1.2.0

v1.1.0

Compare Source

Added

  • PEP 695 support
    • parser: PEP 695 - Type Parameter Syntax #​1004
    • Scope provider: support for type annotations #​1014
  • PEP 701 support
    • parser: support arbitrarily nested f-strings #​1026
    • parser: Parse multiline expressions in f-strings #​1027
  • parser: Support files with mixed newlines #​1007
  • libcst is now published to crates.io

Fixed

  • codemod/ApplyTypeAnnotationsVisitor: Do not annotate the same variable multiple times #​956
  • parser: Don't swallow trailing whitespace #​976
  • codemod/rename: Avoid duplicating import statements when the module name doesn't change #​981

Updated

  • cli: Don't gather dirs ending .py #​994
  • drop support for Python 3.7 #​997
  • A few parser performance improvements:
    • Switch to using thread_local regular expressions to stop mutext contention #​996
    • Remove need for regex in TextPosition::matches #​1002
    • Remove Regexes from whitespace parser #​1008

v1.0.1

Compare Source

Fixed

New Contributors

Full Changelog: Instagram/LibCST@v1.0.0...v1.0.1

v1.0.0

Compare Source

The first major release of LibCST is essentially the same as 0.4.10, but using the
newer, Rust-based parser implementation by default. The old, pure Python parser is
scheduled for removal in the next (non-patch) release. Until then, it is available with
the LIBCST_PARSER_TYPE environment variable set to pure.

Updated


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label May 25, 2023
@renovate
Copy link
Contributor Author

renovate bot commented May 25, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...


The current project's Python requirement (>=3.8,<3.12) is not compatible with some of the required packages Python requirement:
  - libcst requires Python >=3.9, so it will not be satisfied for Python >=3.8,<3.9

Because micropy-cli depends on libcst (1.3.1) which requires Python >=3.9, version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For libcst, a possible solution would be to set the `python` property to ">=3.9,<3.12"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.04%. Comparing base (348f00a) to head (d7d06e2).

Current head d7d06e2 differs from pull request most recent head 8946bb6

Please upload reports for the commit 8946bb6 to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #493   +/-   ##
=======================================
  Coverage   92.04%   92.04%           
=======================================
  Files          52       52           
  Lines        2817     2817           
=======================================
  Hits         2593     2593           
  Misses        224      224           
Flag Coverage Δ
os-macOS-12 92.01% <ø> (ø)
os-ubuntu-latest 92.01% <ø> (ø)
os-windows-latest 91.87% <ø> (ø)
py-3.10 91.83% <ø> (+0.31%) ⬆️
py-3.11 91.79% <ø> (-0.22%) ⬇️
py-3.8 91.97% <ø> (+0.03%) ⬆️
py-3.9 92.00% <ø> (+0.17%) ⬆️
unittests 92.04% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/libcst-1.x branch 4 times, most recently from 993c4b4 to d103ee5 Compare June 5, 2023 07:48
@renovate renovate bot force-pushed the renovate/libcst-1.x branch 9 times, most recently from 71b9046 to 3173113 Compare June 11, 2023 04:43
@renovate renovate bot force-pushed the renovate/libcst-1.x branch 12 times, most recently from b9396f9 to 822bdbb Compare September 3, 2023 07:28
@renovate renovate bot force-pushed the renovate/libcst-1.x branch 18 times, most recently from 4fa081e to 859e233 Compare January 12, 2024 02:03
@renovate renovate bot force-pushed the renovate/libcst-1.x branch 5 times, most recently from 76b170a to 28b1749 Compare January 27, 2024 08:42
Copy link
Contributor Author

renovate bot commented May 22, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...


The current project's Python requirement (>=3.8,<3.12) is not compatible with some of the required packages Python requirement:
  - libcst requires Python >=3.9, so it will not be satisfied for Python >=3.8,<3.9

Because micropy-cli depends on libcst (1.4.0) which requires Python >=3.9, version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For libcst, a possible solution would be to set the `python` property to ">=3.9,<3.12"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants