Skip to content

Build(deps): Bump isort from 4.3.21 to 5.2.2#123

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/master/isort-5.2.2
Closed

Build(deps): Bump isort from 4.3.21 to 5.2.2#123
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/master/isort-5.2.2

Conversation

@dependabot-preview
Copy link
Copy Markdown
Contributor

Bumps isort from 4.3.21 to 5.2.2.

Release notes

Sourced from isort's releases.

5.2.2 July 30, 2020

  • Fixed #1356: return status when arguments are passed in without files or a content stream.

5.2.1 July 28, 2020

  • Update precommit to default to filtering files that are defined in skip.
  • Improved relative path detection for skip config usage.
  • Added recursive symbolic link protection.
  • Implemented #1177: Support for color output using --color.
  • Implemented recursive symlink detection support.

5.2.0 July 27, 2020

  • Implemented #1335: Official API for diff capturing.
  • Implemented #1331: Warn when sections don't match up.
  • Implemented #1261: By popular demand, filter_files can now be set in the config option.
  • Implemented #960: Support for respecting git ignore via "--gitignore" or "skip_gitignore=True".
  • Implemented #727: Ability to only add imports if existing imports exist.
  • Implemented #970: Support for custom sharable isort profiles.
  • Implemented #1214: Added support for git_hook lazy option (Thanks @sztamas!)
  • Implemented #941: Added an additional multi_line_output mode for more compact formatting (Thanks @sztamas!)
  • Implemented #1020: Option for LOCALFOLDER.
  • Implemented #1353: Added support for output formatting plugins.
  • # isort: split can now be used at the end of an import line.
  • Fixed #1339: Extra indent is not preserved when isort:skip is used in nested imports.
  • Fixed #1348: --diff works incorrectly with files that have CRLF line endings.
  • Improved code repositories usage of pylint tags (#1350).

5.1.4 July 19, 2020

  • Fixed issue #1333: Use of wrap_length raises an exception about it not being lower or equal to line_length.
  • Fixed issue #1330: Ensure stdout can be stubbed dynamically for show_unified_diff function.

5.1.3 July 18, 2020

  • Fixed issue #1329: Fix comments duplicated when --fass option is set.

5.1.2 July 17, 2020

  • Fixed issue #1219 / #1326: Comments not wrapped for long lines
  • Fixed issue #1156: Bug related to isort:skip usage followed by a multiline comment block

5.1.1 July 15, 2020

  • Fixed issue #1322: Occasionally two extra newlines before comment with -n & --fss.
  • Fixed issue #1189: --diff broken when reading from standard input.

5.1.0 July 14, 2020

  • isort now throws an exception if an invalid settings path is given (issue #1174).
  • Implemented support for automatic redundant alias removal (issue #1281).
  • Implemented experimental support for floating all imports to the top of a file (issue #1228)
  • Fixed #1178: support for semicolons in decorators.
  • Fixed #1315: Extra newline before comment with -n + --fss.
  • Fixed #1192: -k or --keep-direct-and-as-imports option has been deprecated as it is now always on.

Formatting changes implied:

Changelog

Sourced from isort's changelog.

5.2.2 July 30, 2020

  • Fixed #1356: return status when arguments are passed in without files or a content stream.

5.2.1 July 28, 2020

  • Update precommit to default to filtering files that are defined in skip.
  • Improved relative path detection for skip config usage.
  • Added recursive symbolic link protection.
  • Implemented #1177: Support for color output using --color.
  • Implemented recursive symlink detection support.

5.2.0 July 27, 2020

  • Implemented #1335: Official API for diff capturing.
  • Implemented #1331: Warn when sections don't match up.
  • Implemented #1261: By popular demand, filter_files can now be set in the config option.
  • Implemented #960: Support for respecting git ignore via "--gitignore" or "skip_gitignore=True".
  • Implemented #727: Ability to only add imports if existing imports exist.
  • Implemented #970: Support for custom sharable isort profiles.
  • Implemented #1214: Added support for git_hook lazy option (Thanks @sztamas!)
  • Implemented #941: Added an additional multi_line_output mode for more compact formatting (Thanks @sztamas!)
  • Implemented #1020: Option for LOCALFOLDER.
  • Implemented #1353: Added support for output formatting plugins.
  • # isort: split can now be used at the end of an import line.
  • Fixed #1339: Extra indent is not preserved when isort:skip is used in nested imports.
  • Fixed #1348: --diff works incorrectly with files that have CRLF line endings.
  • Improved code repositories usage of pylint tags (#1350).

5.1.4 July 19, 2020

  • Fixed issue #1333: Use of wrap_length raises an exception about it not being lower or equal to line_length.
  • Fixed issue #1330: Ensure stdout can be stubbed dynamically for show_unified_diff function.

5.1.3 July 18, 2020

  • Fixed issue #1329: Fix comments duplicated when --fass option is set.

5.1.2 July 17, 2020

  • Fixed issue #1219 / #1326: Comments not wrapped for long lines
  • Fixed issue #1156: Bug related to isort:skip usage followed by a multiline comment block

5.1.1 July 15, 2020

  • Fixed issue #1322: Occasionally two extra newlines before comment with -n & --fss.
  • Fixed issue #1189: --diff broken when reading from standard input.

5.1.0 July 14, 2020

  • isort now throws an exception if an invalid settings path is given (issue #1174).
  • Implemented support for automatic redundant alias removal (issue #1281).
  • Implemented experimental support for floating all imports to the top of a file (issue #1228)
  • Fixed #1178: support for semicolons in decorators.
  • Fixed #1315: Extra newline before comment with -n + --fss.
  • Fixed #1192: -k or --keep-direct-and-as-imports option has been deprecated as it is now always on.

Formatting changes implied:

Commits
  • 253b947 Bump version number
  • 39adcee Fixed #1356: return status when arguments are passed in without files or a co...
  • b8c8c00 Add precommit section to upgrade guide
  • 212e160 Update isort config
  • 107bf48 Add custom isort documentation theme
  • 444c4ee Prepare 5.2.1 release
  • d16a72f Add recursive symlink protection
  • 368556e Default filter-files to true in precommit hook
  • 92b84bd Improve handling of relative path detection
  • 1bf93c7 Fix small formatting issue
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [isort](https://github.com/timothycrosley/isort) from 4.3.21 to 5.2.2.
- [Release notes](https://github.com/timothycrosley/isort/releases)
- [Changelog](https://github.com/timothycrosley/isort/blob/develop/CHANGELOG.md)
- [Commits](PyCQA/isort@4.3.21...5.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 30, 2020
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 30, 2020

Codecov Report

Merging #123 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #123   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           50        50           
  Branches         5         5           
=========================================
  Hits            50        50           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b76f812...f6e9798. Read the comment docs.

@dependabot-preview
Copy link
Copy Markdown
Contributor Author

Dependabot tried to automerge this PR, but received the following error from GitHub:

You're not authorized to push to this branch. Visit https://help.github.com/articles/about-protected-branches/ for more information.

@dependabot-preview
Copy link
Copy Markdown
Contributor Author

Dependabot tried to automerge this PR, but received the following error from GitHub:

You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information.

@dependabot-preview
Copy link
Copy Markdown
Contributor Author

Superseded by #125.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/master/isort-5.2.2 branch August 5, 2020 06:17
bdraco added a commit that referenced this pull request Jun 9, 2025
This PR modifies the build backend to dynamically enable Cython line tracing only when explicitly requested via the `with-cython-tracing=true` config setting. Previously, having `linetrace = "True"` in pyproject.toml was causing build issues for users (#658) and makes our production wheels almost half as fast.

Now, line tracing is opt-in:
- Regular builds: `pip install .` (no line tracing)
- Tracing builds: `pip install . --config-setting=with-cython-tracing=true` (enables line tracing)

When tracing is requested, the build backend automatically adds the `linetrace=True` and `profile=True` Cython directives and sets the appropriate C compiler flags.

<!-- Outline any notable behaviour for the end users. -->

- Regular users will no longer encounter build issues related to line tracing being enabled by default
- Developers who need line tracing must now explicitly enable it using `--config-setting=with-cython-tracing=true`
- The `YARL_CYTHON_TRACING` environment variable can also be used as an alternative to the config setting

<!-- Are there any issues opened that will be resolved by merging this change? -->
<!-- Remember to prefix with 'Fixes' if it should close the issue (e.g. 'Fixes #123'). -->

- [x] I think the code is well written
- [ ] Unit tests for the changes exist
- [ ] Documentation reflects the changes
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.

0 participants