Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Scheduled weekly dependency update for week 28 #7513

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

Update isort from 4.3.21 to 5.0.9.

Changelog

5.0.9

- Fixed 1301: Import headings in nested sections leads to check errors

5.0.8

- Fixed 1277 & 1278: New line detection issues on Windows.
- Fixed 1294: Fix bundled git hook.

5.0.7

- Fixed 1306: unexpected --diff behavior.
- Fixed 1279: Fixed NOQA comment regression.

5.0.6

- Fixed 1302: comments and --trailing-comma can generate invalid code.
- Fixed 1293: extra new line in indented imports, when immediately followed by a comment.
- Fixed 1304: isort 5 no longer recognises `sre_parse` as a stdlib module.
- Fixed 1300: add_imports moves comments following import section.
- Fixed 1276: Fix a bug that creates only one line after triple quotes.

5.0.5

- Fixed 1285: packaging issue with bundling tests via poetry.
- Fixed 1284: Regression when sorting `.pyi` files from CLI using black profile.
- Fixed 1275 & 1283: Blank line after docstring removed.
- Fixed 1298: CLI Help out of date with isort 5.
- Fixed 1290: Unecessary blank lines above nested imports when import comments turned on.
- Fixed 1297: Usage of `--add-imports` alongside `--check` is broken.
- Fixed 1289: Stream usage no longer auto picking up config file from current working directory.
- Fixed 1296: Force_single_line setting removes immediately following comment line.
- Fixed 1295: `ensure_newline_before_comments` doesnt work with `force_sort_within_sections`.
- Setting not_skip will no longer immediately fail but instead give user a warning and direct
 to upgrade docs.

5.0.4

- Fixed 1264: a regression with comment handling and `force_sort_within_sections` config option
- Added warning for deprecated CLI flags and linked to upgrade guide.

5.0.3

- Fixed setup.py command incorrectly passing check=True as a configuration parameter (see: https://github.com/timothycrosley/isort/issues/1258)
- Fixed missing patch version
- Fixed issue 1253: Atomic fails when passed in not readable output stream

5.0.2

- Ensured black profile was complete, adding missing line_length definition.

5.0.1

- Fixed a runtime error in a vendored dependency (toml).

5.0.0

**Breaking changes:**

- isort now requires Python 3.6+ to run but continues to support formatting on ALL versions of python including
 Python 2 code.
- isort deprecates official support for Python 3.4, removing modules only in this release from known_standard_library:
   - user
- Config files are no longer composed on-top of each-other. Instead the first config file found is used.
 - Since there is no longer composition negative form settings (such as --dont-skip or it's config file variant `not_skip`) are no longer required and have been removed.
- Two-letter shortened setting names (like `ac` for `atomic`) now require two dashes to avoid ambiguity: `--ac`.
- For consistency with other tools `-v` now is shorthand for verbose and `-V` is shorthand for version. See Issue: 1067.
- `length_sort_{section_name}` config usage has been deprecated. Instead `length_sort_sections` list can be used to specify a list of sections that need to be length sorted.
- `safety_excludes` and `unsafe` have been deprecated
- Config now includes as default full set of safety directories defined by safety excludes.
- `--recursive` option has been removed. Directories passed in are now automatically sorted recursive.
- `--apply` option has been removed as it is the default behaviour.
- isort now does nothing, beyond giving instructions and exiting status code 0, when ran with no arguments.
 - a new `--interactive` flag has been added to enable the old style behaviour.
- isort now works on contiguous sections of imports, instead of one whole file at a time.
- isort now formats all nested "as" imports in the "from" form. `import x.y as a` becomes `from x import y as a`.
- `keep_direct_and_as_imports` option now defaults to `True`.
- `appdirs` is no longer supported. Unless manually specified, config should be project config only.
- `toml` is now installed as a vendorized module, meaning pyproject.toml based config is always supported.
- Completely new Python API, old version is removed and no longer accessible.
- New module placement logic and module fully replaces old finders. Old approach is still available via `--old-finders`.

Internal:

- isort now utilizes mypy and typing to filter out typing related issues before deployment.
- isort now utilizes black internally to ensure more consistent formatting.

- profile support for common project types (black, django, google, etc)

- Much much more. There is some difficulty in fully capturing the extent of changes in this release - just because of how all encompassing the release is. See: [Github Issues](https://github.com/timothycrosley/isort/issues?q=is%3Aissue+is%3Aclosed) for more.
Links

@vorpal-buildbot
Copy link
Contributor

Changelogs

isort 5.0.9

  • Fixed 1301: Import headings in nested sections leads to check errors

isort 5.0.8

  • Fixed 1277 & 1278: New line detection issues on Windows.
  • Fixed 1294: Fix bundled git hook.

isort 5.0.7

  • Fixed 1306: unexpected --diff behavior.
  • Fixed 1279: Fixed NOQA comment regression.

isort 5.0.6

  • Fixed 1302: comments and --trailing-comma can generate invalid code.
  • Fixed 1293: extra new line in indented imports, when immediately followed by a comment.
  • Fixed 1304: isort 5 no longer recognises sre_parse as a stdlib module.
  • Fixed 1300: add_imports moves comments following import section.
  • Fixed 1276: Fix a bug that creates only one line after triple quotes.

isort 5.0.5

  • Fixed 1285: packaging issue with bundling tests via poetry.
  • Fixed 1284: Regression when sorting .pyi files from CLI using black profile.
  • Fixed 1275 & 1283: Blank line after docstring removed.
  • Fixed 1298: CLI Help out of date with isort 5.
  • Fixed 1290: Unecessary blank lines above nested imports when import comments turned on.
  • Fixed 1297: Usage of --add-imports alongside --check is broken.
  • Fixed 1289: Stream usage no longer auto picking up config file from current working directory.
  • Fixed 1296: Force_single_line setting removes immediately following comment line.
  • Fixed 1295: ensure_newline_before_comments doesnt work with force_sort_within_sections.
  • Setting not_skip will no longer immediately fail but instead give user a warning and direct
    to upgrade docs.

isort 5.0.4

  • Fixed 1264: a regression with comment handling and force_sort_within_sections config option
  • Added warning for deprecated CLI flags and linked to upgrade guide.

isort 5.0.3

isort 5.0.2

  • Ensured black profile was complete, adding missing line_length definition.

isort 5.0.1

  • Fixed a runtime error in a vendored dependency (toml).

isort 5.0.0

Breaking changes:

  • isort now requires Python 3.6+ to run but continues to support formatting on ALL versions of python including
    Python 2 code.
  • isort deprecates official support for Python 3.4, removing modules only in this release from known_standard_library:
    • user
  • Config files are no longer composed on-top of each-other. Instead the first config file found is used.
    • Since there is no longer composition negative form settings (such as --dont-skip or it's config file variant not_skip) are no longer required and have been removed.
  • Two-letter shortened setting names (like ac for atomic) now require two dashes to avoid ambiguity: --ac.
  • For consistency with other tools -v now is shorthand for verbose and -V is shorthand for version. See Issue: 1067.
  • length_sort_{section_name} config usage has been deprecated. Instead length_sort_sections list can be used to specify a list of sections that need to be length sorted.
  • safety_excludes and unsafe have been deprecated
  • Config now includes as default full set of safety directories defined by safety excludes.
  • --recursive option has been removed. Directories passed in are now automatically sorted recursive.
  • --apply option has been removed as it is the default behaviour.
  • isort now does nothing, beyond giving instructions and exiting status code 0, when ran with no arguments.
    • a new --interactive flag has been added to enable the old style behaviour.
  • isort now works on contiguous sections of imports, instead of one whole file at a time.
  • isort now formats all nested "as" imports in the "from" form. import x.y as a becomes from x import y as a.
  • keep_direct_and_as_imports option now defaults to True.
  • appdirs is no longer supported. Unless manually specified, config should be project config only.
  • toml is now installed as a vendorized module, meaning pyproject.toml based config is always supported.
  • Completely new Python API, old version is removed and no longer accessible.
  • New module placement logic and module fully replaces old finders. Old approach is still available via --old-finders.

Internal:

  • isort now utilizes mypy and typing to filter out typing related issues before deployment.

  • isort now utilizes black internally to ensure more consistent formatting.

  • profile support for common project types (black, django, google, etc)

  • Much much more. There is some difficulty in fully capturing the extent of changes in this release - just because of how all encompassing the release is. See: Github Issues for more.

@codecov
Copy link

codecov bot commented Jul 13, 2020

Codecov Report

Merging #7513 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7513      +/-   ##
==========================================
- Coverage   45.38%   45.35%   -0.03%     
==========================================
  Files         279      279              
  Lines       14020    14020              
  Branches     2116     2116              
==========================================
- Hits         6363     6359       -4     
- Misses       7368     7371       +3     
- Partials      289      290       +1     
Impacted Files Coverage Δ
magic/rotation.py 18.04% <0.00%> (-3.42%) ⬇️
decksite/view.py 60.52% <0.00%> (ø)
maintenance/elo.py 0.00% <0.00%> (ø)
decksite/data/rule.py 23.47% <0.00%> (ø)
decksite/views/person_achievements.py 35.00% <0.00%> (ø)
decksite/league.py 34.65% <0.00%> (+0.33%) ⬆️
magic/image_fetcher.py 35.89% <0.00%> (+1.28%) ⬆️

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 27da5d7...da41bab. Read the comment docs.

@TravisBuddy
Copy link

Travis tests have failed

Hey @pyup-bot,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

TravisBuddy Request Identifier: e3788bb0-c538-11ea-af19-3b271fec1f42

@pyup-bot
Copy link
Contributor Author

Closing this in favor of #7530

@pyup-bot pyup-bot closed this Jul 20, 2020
@silasary silasary deleted the pyup-scheduled-update-2020-07-13 branch July 20, 2020 18:39
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants