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

Scheduled weekly dependency update for week 30 #7568

Closed
wants to merge 2 commits into from

Conversation

pyup-bot
Copy link
Contributor

Update isort from 4.3.21 to 5.2.0.

Changelog

5.2.0

- 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

- 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

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

5.1.2

- 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

- 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

- 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:**
- Fixed 1280: rewrite of as imports changes the behavior of the imports.

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`.~~ NOTE: This was undone in version 5.1.0 due to feedback it caused issues with some project conventions.
- `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

Update python-dotenv from 0.14.0 to 0.14.0.

Changelog

0.10.3

- Improve interactive mode detection ([andrewsmith])([183]).
- Refactor parser to fix parsing inconsistencies ([bbc2])([170]).
- Interpret escapes as control characters only in double-quoted strings.
- Interpret `` as start of comment only if preceded by whitespace.

0.10.2

- Add type hints and expose them to users ([qnighy])([172])
- `load_dotenv` and `dotenv_values` now accept an `encoding` parameter, defaults to `None`
([theskumar])([earlbread])([161])
- Fix `str`/`unicode` inconsistency in Python 2: values are always `str` now. ([bbc2])([121])
- Fix Unicode error in Python 2, introduced in 0.10.0. ([bbc2])([176])

0.10.1

- Fix parsing of variable without a value ([asyncee])([bbc2])([158])

0.10.0

- Add support for UTF-8 in unquoted values ([bbc2])([148])
- Add support for trailing comments ([bbc2])([148])
- Add backslashes support in values ([bbc2])([148])
- Add support for newlines in values ([bbc2])([148])
- Force environment variables to str with Python2 on Windows ([greyli])
- Drop Python 3.3 support ([greyli])
- Fix stderr/-out/-in redirection ([venthur])

0.9.0

- Add `--version` parameter to cli ([venthur])
- Enable loading from current directory ([cjauvin])
- Add 'dotenv run' command for calling arbitrary shell script with .env ([venthur])

0.8.1

-   Add tests for docs ([Flimm])
-   Make 'cli' support optional. Use `pip install python-dotenv[cli]`. ([theskumar])

0.8.0

-   `set_key` and `unset_key` only modified the affected file instead of
 parsing and re-writing file, this causes comments and other file
 entact as it is.
-   Add support for `export` prefix in the line.
-   Internal refractoring ([theskumar])
-   Allow `load_dotenv` and `dotenv_values` to work with `StringIO())` ([alanjds])([theskumar])([78])

0.7.1

-   Remove hard dependency on iPython ([theskumar])

0.7.0

-   Add support to override system environment variable via .env.
 ([milonimrod](https://github.com/milonimrod))
 ([\63](https://github.com/theskumar/python-dotenv/issues/63))
-   Disable ".env not found" warning by default
 ([maxkoryukov](https://github.com/maxkoryukov))
 ([\57](https://github.com/theskumar/python-dotenv/issues/57))

0.6.5

-   Add support for special characters `\`.
 ([pjona](https://github.com/pjona))
 ([\60](https://github.com/theskumar/python-dotenv/issues/60))

0.6.4

-   Fix issue with single quotes ([Flimm])
 ([\52](https://github.com/theskumar/python-dotenv/issues/52))

0.6.3

-   Handle unicode exception in setup.py
 ([\46](https://github.com/theskumar/python-dotenv/issues/46))

0.6.2

-   Fix dotenv list command ([ticosax](https://github.com/ticosax))
-   Add iPython Suport
 ([tillahoffmann](https://github.com/tillahoffmann))

0.6.0

-   Drop support for Python 2.6
-   Handle escaped charaters and newlines in quoted values. (Thanks
 [iameugenejo](https://github.com/iameugenejo))
-   Remove any spaces around unquoted key/value. (Thanks
 [paulochf](https://github.com/paulochf))
-   Added POSIX variable expansion. (Thanks
 [hugochinchilla](https://github.com/hugochinchilla))

0.5.1

-   Fix find\_dotenv - it now start search from the file where this
 function is called from.

0.5.0

-   Add `find_dotenv` method that will try to find a `.env` file.
 (Thanks [isms](https://github.com/isms))

0.4.0

-   cli: Added `-q/--quote` option to control the behaviour of quotes
 around values in `.env`. (Thanks
 [hugochinchilla](https://github.com/hugochinchilla)).
-   Improved test coverage.

[78]: https://github.com/theskumar/python-dotenv/issues/78
[121]: https://github.com/theskumar/python-dotenv/issues/121
[148]: https://github.com/theskumar/python-dotenv/issues/148
[158]: https://github.com/theskumar/python-dotenv/issues/158
[170]: https://github.com/theskumar/python-dotenv/issues/170
[172]: https://github.com/theskumar/python-dotenv/issues/172
[176]: https://github.com/theskumar/python-dotenv/issues/176
[183]: https://github.com/theskumar/python-dotenv/issues/183

[Flimm]: https://github.com/Flimm
[alanjds]: https://github.com/alanjds
[altendky]: https://github.com/altendky
[andrewsmith]: https://github.com/andrewsmith
[asyncee]: https://github.com/asyncee
[bbc2]: https://github.com/bbc2
[cjauvin]: https://github.com/cjauvin
[earlbread]: https://github.com/earlbread
[ekohl]: https://github.com/ekohl
[elbehery95]: https://github.com/elbehery95
[gergelyk]: https://github.com/gergelyk
[greyli]: https://github.com/greyli
[qnighy]: https://github.com/qnighy
[snobu]: https://github.com/snobu
[techalchemy]: https://github.com/techalchemy
[theskumar]: https://github.com/theskumar
[ulyssessouza]: https://github.com/ulyssessouza
[venthur]: https://github.com/venthur
[yannham]: https://github.com/yannham

[Unreleased]: https://github.com/theskumar/python-dotenv/compare/v0.14.0...HEAD
Links

@vorpal-buildbot
Copy link
Contributor

Changelogs

Warning: 47 is pinned to a specific version.

isort 5.2.0

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

isort 5.1.4

  • 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.

isort 5.1.3

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

isort 5.1.2

  • 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

isort 5.1.1

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

isort 5.1.0

  • 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:

  • Fixed 1280: rewrite of as imports changes the behavior of the imports.

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. NOTE: This was undone in version 5.1.0 due to feedback it caused issues with some project conventions.
  • 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.

python-dotenv 0.14.0

python-dotenv 0.13.0

python-dotenv 0.12.0

python-dotenv 0.11.0

python-dotenv 0.10.5

python-dotenv 0.10.4

python-dotenv 0.10.3

  • Improve interactive mode detection (andrewsmith)(183).
  • Refactor parser to fix parsing inconsistencies (bbc2)(170).
    • Interpret escapes as control characters only in double-quoted strings.
    • Interpret `` as start of comment only if preceded by whitespace.

python-dotenv 0.10.2

  • Add type hints and expose them to users (qnighy)(172)
  • load_dotenv and dotenv_values now accept an encoding parameter, defaults to None
    (theskumar)(earlbread)([161])
  • Fix str/unicode inconsistency in Python 2: values are always str now. (bbc2)(121)
  • Fix Unicode error in Python 2, introduced in 0.10.0. (bbc2)(176)

python-dotenv 0.10.1

python-dotenv 0.10.0

  • Add support for UTF-8 in unquoted values (bbc2)(148)
  • Add support for trailing comments (bbc2)(148)
  • Add backslashes support in values (bbc2)(148)
  • Add support for newlines in values (bbc2)(148)
  • Force environment variables to str with Python2 on Windows (greyli)
  • Drop Python 3.3 support (greyli)
  • Fix stderr/-out/-in redirection (venthur)

python-dotenv 0.9.0

  • Add --version parameter to cli (venthur)
  • Enable loading from current directory (cjauvin)
  • Add 'dotenv run' command for calling arbitrary shell script with .env (venthur)

python-dotenv 0.8.1

  • Add tests for docs (Flimm)
  • Make 'cli' support optional. Use pip install python-dotenv[cli]. (theskumar)

python-dotenv 0.8.0

  • set_key and unset_key only modified the affected file instead of
    parsing and re-writing file, this causes comments and other file
    entact as it is.
  • Add support for export prefix in the line.
  • Internal refractoring (theskumar)
  • Allow load_dotenv and dotenv_values to work with StringIO()) (alanjds)(theskumar)(78)

python-dotenv 0.7.1

  • Remove hard dependency on iPython (theskumar)

python-dotenv 0.7.0

  • Add support to override system environment variable via .env.
    (milonimrod)
    (\63)
  • Disable ".env not found" warning by default
    (maxkoryukov)
    (\57)

python-dotenv 0.6.5

  • Add support for special characters \.
    (pjona)
    (\60)

python-dotenv 0.6.4

  • Fix issue with single quotes (Flimm)
    (\52)

python-dotenv 0.6.3

  • Handle unicode exception in setup.py
    (\46)

python-dotenv 0.6.2

python-dotenv 0.6.0

  • Drop support for Python 2.6
  • Handle escaped charaters and newlines in quoted values. (Thanks
    iameugenejo)
  • Remove any spaces around unquoted key/value. (Thanks
    paulochf)
  • Added POSIX variable expansion. (Thanks
    hugochinchilla)

python-dotenv 0.5.1

  • Fix find_dotenv - it now start search from the file where this
    function is called from.

python-dotenv 0.5.0

  • Add find_dotenv method that will try to find a .env file.
    (Thanks isms)

python-dotenv 0.4.0

  • cli: Added -q/--quote option to control the behaviour of quotes
    around values in .env. (Thanks
    hugochinchilla).
  • Improved test coverage.

@codecov
Copy link

codecov bot commented Jul 27, 2020

Codecov Report

Merging #7568 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7568      +/-   ##
==========================================
+ Coverage   47.01%   47.03%   +0.01%     
==========================================
  Files         280      280              
  Lines       14077    14077              
  Branches     2118     2118              
==========================================
+ Hits         6619     6621       +2     
+ Misses       7168     7163       -5     
- Partials      290      293       +3     
Impacted Files Coverage Δ
decksite/view.py 60.85% <0.00%> (ø)
maintenance/elo.py 0.00% <0.00%> (ø)
decksite/data/rule.py 23.47% <0.00%> (ø)
discordbot/commands/tournament.py 85.71% <0.00%> (ø)
decksite/views/person_achievements.py 35.00% <0.00%> (ø)
decksite/data/competition.py 65.43% <0.00%> (+2.46%) ⬆️

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 34b89f4...de7d737. 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: ce0d8fd0-d039-11ea-81e3-a59d363db46c

@pyup-bot
Copy link
Contributor Author

pyup-bot commented Aug 3, 2020

Closing this in favor of #7600

@pyup-bot pyup-bot closed this Aug 3, 2020
@silasary silasary deleted the pyup-scheduled-update-2020-07-27 branch August 3, 2020 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants