/
python-isort.changes
650 lines (549 loc) · 31.6 KB
/
python-isort.changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
-------------------------------------------------------------------
Tue Oct 13 18:28:28 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to Version 5.6.4
* Fixed #1556: Empty line added between imports that should be
skipped.
- Version 5.6.3
* Improved packaging of test files alongside source distribution
(see: https://github.com/PyCQA/isort/pull/1555).
- Version 5.6.2
* Fixed #1548: On rare occasions an unecessary empty line can be
added when an import is marked as skipped.
* Fixed #1542: Bug in VERTICAL_PREFIX_FROM_MODULE_IMPORT wrap
mode.
* Fixed #1552: Pylama test dependent on source layout.
* Goal Zero: (Tickets related to aspirational goal of achieving 0
regressions for remaining 5.0.0 lifespan):
* Zope added to integration test suite
* Additional testing of CLI (simulate unseekable streams)
- now only requires poetry.core as PEP517 backend
-------------------------------------------------------------------
Fri Oct 9 16:47:11 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Fix building and installation of exampleprojects for testing
-------------------------------------------------------------------
Thu Oct 8 15:56:53 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 5.6.1
* Fixed #1546: Unstable (non-idempotent) behavior with certain
src trees.
- Changelog for 5.6.0
* Implemented #1433: Provide helpful feedback in case a custom
config file is specified without a configuration.
* Implemented #1494: Default to sorting imports within .pxd
files.
* Implemented #1502: Improved float-to-top behavior when there
is an existing import section present at top-of-file.
* Implemented #1511: Support for easily seeing all files isort
will be ran against using isort . --show-files.
* Implemented #1487: Improved handling of encoding errors.
* Improved handling of unsupported configuration option errors
(see #1475).
* Fixed #1463: Better interactive documentation for future
option.
* Fixed #1461: Quiet config option not respected by file API in
some circumstances.
* Fixed #1482: pylama integration is not working correctly out-
of-the-box.
* Fixed #1492: --check does not work with stdin source.
* Fixed #1499: isort gets confused by single line, multi-line
style comments when using float-to-top.
* Fixed #1525: Some warnings can't be disabled with --quiet.
* Fixed #1523: in rare cases isort can ignore direct from import
if as import is also on same line.
+ Potentially breaking changes:
* Implemented #1540: Officially support Python 3.9 stdlib
imports by default.
* Fixed #1443: Incorrect third vs first party categorization -
namespace packages.
* Fixed #1486: "Google" profile is not quite Google style.
* Fixed "PyCharm" profile to always add 2 lines to be consistent
with what PyCharm "Optimize Imports" does.
+ Goal Zero:
* Implemented #1472: Full testing of stdin CLI Options
* Added additional branch coverage.
* More projects added to integration test suite.
- Changelog for 5.5.5
* Fixed #1539: in extremely rare cases isort 5.5.4 introduces
syntax error by removing closing paren.
- Changelog for 5.5.4
* Fixed #1507: in rare cases isort changes the content of
multiline strings after a yield statement.
* Fixed #1505: Support case where known_SECTION points to a
section not listed in sections.
- Use upstream's way of PIP with Poetry PEP517 backend to install
the package so we can use Github archive only
- A Poetry update required to modify the examples installation for
testing
- Test flavor does not depend on installed base package anymore
-------------------------------------------------------------------
Mon Sep 21 11:48:02 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 5.5.3
* Fixed #1488: in rare cases isort can mangle yield from or raise
from statements.
- Version 5.5.2
* Fixed #1469: --diff option is ignored when input is from stdin.
-------------------------------------------------------------------
Tue Sep 8 14:08:11 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- skip a flaky test gh#PyCQA/isort#1466
-------------------------------------------------------------------
Tue Sep 8 10:45:42 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 5.5.1
* Fixed #1454: Ensure indented import sections with import
heading and a preceding comment don't cause import sorting
loops.
* Fixed #1453: isort error when float to top on almost empty
file.
* Fixed #1456 and #1415: noqa comment moved to where flake8 cant
see it.
* Fixed #1460: .svn missing from default ignore list.
- Version 5.5.0
* Fixed #1398: isort: off comment doesn't work, if it's the top
comment in the file.
* Fixed #1395: reverse_relative setting doesn't have any effect
when combined with force_sort_within_sections.
* Fixed #1399: --skip can error in the case of projects that
contain recursive symlinks.
* Fixed #1389: ensure_newline_before_comments doesn't work if
comment is at top of section and sections don't have lines
between them.
* Fixed #1396: comments in imports with ";" can keep isort from
recognizing import line.
* Fixed #1380: As imports removed when combine_star is set.
* Fixed #1382: --float-to-top has no effect if no import is
already at the top.
* Fixed #1420: isort never settles on module docstring + add
import.
* Fixed #1421: Error raised when repo contains circular symlinks.
* Fixed #1427: noqa comment is moved from star import to constant
import.
* Fixed #1444 & 1445: Incorrect placement of import additions.
* Fixed #1447: isort5 throws error when stdin used on Windows
with deprecated args.
* Implemented #1397: Added support for specifying config file
when using git hook (thanks @diseraluca!).
* Implemented #1405: Added support for coloring diff output.
* Implemented #1434: New multi-line grid mode without
parentheses.
* Goal Zero (Tickets related to aspirational goal of achieving 0
regressions for remaining 5.0.0 lifespan):
* Implemented #1392: Extensive profile testing.
* Implemented #1393: Proprety based testing applied to code
snippets.
* Implemented #1391: Create automated integration test that
includes full code base of largest OpenSource isort users.
* Potentially breaking change:
Fixed #1429: --check doesn't print to stderr as the
documentation says. This means if you were looking for ERROR:
messages for files that contain incorrect imports within stdout
you will now need to look in stderr.
- Github repo moved to PyCQA/isort
- URL moved to https://pycqa.github.io/isort/
-------------------------------------------------------------------
Wed Aug 19 17:27:27 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- enable hypothesmith integration tests
- clarify test data source and multibuild strategy
-------------------------------------------------------------------
Wed Aug 19 04:17:27 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 5.4.2:
* Fixed #1383: Known other does not work anymore with .editorconfig.
* Fixed: Regression in first known party path expansion.
* Fixed #1381: --combine-as loses # noqa in different circumstances.
* Implemented #1373: support for length sort only of direct (AKA
straight) imports.
* Fixed #1321: --combine-as loses # noqa.
* Fixed #1375: --dont-order-by-type CLI broken.
-------------------------------------------------------------------
Sat Aug 8 12:21:14 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 5.3.2:
- Fixed incorrect warning code (W503->W0503).
- update to version 5.3.1:
- Improve upgrade warnings to be less noisy and point to error codes for easy interoperability with Visual Studio Code (see: #1363).
-------------------------------------------------------------------
Thu Aug 6 13:53:40 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- do not test hypothesmith integration because we lack python-libcst
-------------------------------------------------------------------
Thu Aug 6 09:21:42 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 5.3.0
* Implemented ability to treat all or select comments as code
(issue #1357)
* Implemented ability to use different configs for different file
extensions (issue #1162)
* Implemented ability to specify the types of imports
(issue #1181)
* Implemented ability to dedup import headings (issue #953)
* Added experimental support for sorting literals (issue #1358)
* Added experimental support for sorting and deduping groupings
of assignments.
* Improved handling of deprecated single line variables for usage
with Visual Studio Code (issue #1363)
* Improved handling of mixed newline forms within same source
file.
* Improved error handling for known sections.
* Improved API consistency, returning a boolean value for all
modification API calls to indicate if changes were made.
* Fixed #1366: spurious errors when combining skip with
--gitignore.
* Fixed #1359: --skip-gitignore does not honor ignored symlink
Internal Development:
* Initial hypothesmith powered test to help catch unexpected
syntax parsing and output errors (thanks @Zac-HD!)
-------------------------------------------------------------------
Thu Jul 30 10:22:55 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 5.2.2:
- Fixed #1356: return status when arguments are passed in without files or a content stream.
-------------------------------------------------------------------
Wed Jul 29 10:39:20 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- update to version 5.2.1
* 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.
-------------------------------------------------------------------
Tue Jul 28 20:09:25 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- use poetry to install example projects. fixes the two remaining
test issues
-------------------------------------------------------------------
Tue Jul 28 19:01:37 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- add git as build dependency, fixes a test issue.
-------------------------------------------------------------------
Mon Jul 27 20:34:29 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 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).
-------------------------------------------------------------------
Mon Jul 20 18:44:08 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 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.
-------------------------------------------------------------------
Sun Jul 19 13:39:26 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- update to version 5.1.3
* Fixed issue #1329: Fix comments duplicated when --fass option is set.
-------------------------------------------------------------------
Sat Jul 18 10:11:56 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 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
- update to version 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.
-------------------------------------------------------------------
Wed Jul 15 20:21:55 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 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.
-------------------------------------------------------------------
Tue Jul 14 13:53:34 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- reenable test_pipfile_finder
needs updated requirementslib gh#timothycrosley/isort#1317
(according to requirementslib changelog probably by fix in 1.5.4)
- upstream git tag has been updated
-------------------------------------------------------------------
Mon Jul 13 17:03:27 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- the tests are not packaged on PyPI. Use github sources. (Need to
reference commit directly (gh#timothycrosley/isort#1316)
- update test requirements
- reenable most passing tests except one (gh#timothycrosley/isort#1317)
- update package description
- new version does not build/test on Python 2 (define skip for older distros)
-------------------------------------------------------------------
Sun Jul 12 15:01:26 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 5.0.9:
- Fixed #1301: Import headings in nested sections leads to check errors
- Update to version 5.0.8:
- Fixed #1277 & #1278: New line detection issues on Windows.
- Fixed #1294: Fix bundled git hook.
- Update to version 5.0.7:
- Fixed #1306: unexpected --diff behavior.
- Fixed #1279: Fixed NOQA comment regression.
- Update to version 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.
- Update to version 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.
- Update to version 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.
-------------------------------------------------------------------
Sun Jul 5 11:36:46 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 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
-------------------------------------------------------------------
Sat Jul 4 12:16:25 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 5.0.2:
- Ensured black profile was complete, adding missing line_length definition.
- update to version 5.0.1:
- Fixed a runtime error in a vendored dependency (toml).
- update to version 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) 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.
-------------------------------------------------------------------
Mon May 25 10:59:30 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
-------------------------------------------------------------------
Sat Mar 14 08:32:17 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Thu Sep 12 17:51:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Skip test test_pipfile_finder upstream is aware for 6 months
and just pinned older version of tomlkit
-------------------------------------------------------------------
Sun Jun 30 13:17:40 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 4.3.21:
- Fixed issue #957 - Long aliases and use_parentheses generates invalid syntax
-------------------------------------------------------------------
Fri May 24 12:12:26 UTC 2019 - pgajdos@suse.com
- version update to 4.3.20:
- Fixed issue #948 - Pipe redirection broken on Python2.7
- Fixed issue #942 - correctly handle pyi (Python Template Files) to match `black` output
- update to version 4.3.19:
- Fixed issue #942 - correctly handle pyi (Python Template Files) to match `black` output
-------------------------------------------------------------------
Tue May 7 08:06:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Again tweak failing tests
-------------------------------------------------------------------
Fri May 3 18:09:41 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to 4.3.18:
- Fixed an issue with parsing files that contain unicode characters in Python 2
- Fixed issue #924 - Pulling in pip internals causes depreciation warning
- Fixed issue #938 - Providing a way to filter explicitly passed in files via configuration settings (`--filter-files`)
- Improved interoperability with toml configuration files
-------------------------------------------------------------------
Mon Apr 29 22:13:28 CEST 2019 - Matej Cepl <mcepl@suse.com>
- skip failing tests
- Update to 4.3.17:
- Fixed issue #905 & #919: Import section headers behaving
strangely
-------------------------------------------------------------------
Fri Mar 29 09:41:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Add missing recommended dependencies
-------------------------------------------------------------------
Sun Mar 24 08:31:58 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 4.3.16:
- Fixed issue #909 - skip and skip-glob are not enforced when using settings-path.
- Fixed issue #907 - appdirs optional requirement does not correctly specify version
- Fixed issue #902 - Too broad warning about missing toml package
- Fixed issue #778 - remove `user` from known standard library as it's no longer in any supported Python version.
-------------------------------------------------------------------
Wed Mar 13 14:19:07 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 4.3.15:
* Fixed a regression with handling streaming input from pipes (Issue #895)
* Fixed handling of \x0c whitespace character (Issue #811)
* Improved CLI documentation
* Fixed a regression with /directory/.py style patterns
* Fixed the inability to accurately determine import section when a mix of conda and virtual environments are used.
* Fixed some output being printed even when --quiet mode is enabled.
* Fixed issue #890 interoperability with PyCharm by allowing case sensitive non type grouped sorting.
* Fixed issue #889 under some circumstances isort will incorrectly add a new line at the beginning of a file.
* Fixed issue #885 many files not being skipped according to set skip settings.
* Fixed issue #842 streaming encoding improvements.
* Fix error caused when a virtual environment not detected
* Fixed issue #876: confused by symlinks pointing to virtualenv gives FIRSTPARTY not THIRDPARTY
* Fixed issue #873: current version skips every file on travis
* Additional caching to reduce performance regression introduced in 4.3.5
* Improved handling of pex files and other binary Python files
-------------------------------------------------------------------
Mon Mar 4 13:25:15 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 4.3.10:
* Fixed Windows incompatibilities (Issue #835)
* Fixed relative import sorting bug (Issue #417)
* Fixed "no_lines_before" to also be respected from previous empty sections.
* Fixed slow-down introduced by finders mechanism by adding a LRU cache (issue #848)
* Fixed issue #842 default encoding not-set in Python2
* Restored Windows automated testing
* Added Mac automated testing
-------------------------------------------------------------------
Mon Mar 4 11:05:21 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Fix multibuild name
-------------------------------------------------------------------
Fri Mar 1 14:43:42 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Switch to multibuild to avoid cycle with pylama
-------------------------------------------------------------------
Thu Feb 28 06:07:17 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Drop add-editorconfig.patch made redundant by new sdist
- Add fdupes
- Update to v4.3.9
* Fixed a bug that led to an incompatibility with black: #831
- from 4.3.8
* Fixed a bug that led to the recursive option not always been available
from the command line.
- from 4.3.7
* Expands the finder failsafe to occur on the creation of the finder objects.
- from 4.3.6
* Fixes a fatal error that occurs if a single finder throws an exception.
Important as we add more finders that utilize third party libraries.
- from 4.3.5
+ Potentially Interface Breaking:
* The `-r` option for removing imports has been renamed `-rm` to avoid
accidental deletions and confusion with the `-rc` recursive option.
* `__init__.py` has been removed from the default ignore list. The default
ignore list is now empty - with all items needing to be explicitly ignored.
* Isort will now by default ignore .tox / venv folders in an effort to be "safe".
You can disable this behaviour by setting the "--unsafe" flag, this is
separate from any skip or not skip rules you may have in place.
* Isort now allows for files missing closing newlines in whitespace check
* `distutils` support has been removed to simplify setup.py
+ New:
* Official Python 3.7 Compatibility.
* Support for using requirements files to auto determine third-paty
section if pipreqs & requirementslib are installed.
* Added support for using pyproject.toml if toml is installed.
* Added support for XDG_HOME if appdirs is installed.
* An option has been added to enable ignoring trailing comments
('ignore_comments') defaulting to False.
* Added support to enable line length sorting for only specific sections
* Added a `correctly_sorted` property on the SortsImport to enable more
intuitive programmatic checking.
+ Fixes:
* Improved black compatibility.
* Isort will no detect files in the CWD as first-party.
* Fixed several cases where '-ns' or 'not_skip' was being incorrectly
ignored.
* Fixed sorting of relative path imports ('.', '..', '...', etc).
* Fixed bugs caused by a failure to maintain order when loading iterables
from config files.
* Correctly handle CPython compiled imports and others that need EXT_SUFFIX
to correctly identify.
* Fixed handling of Symbolic Links to follow them when walking the path.
* Fixed handling of relative known_paths.
* Fixed lack of access to all wrap modes from the CLI.
* Fixed handling of FIFO files.
* Fixed a bug that could result in multiple imports being inserted on the
same line.
-------------------------------------------------------------------
Thu Feb 14 06:05:49 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Revert to using PyPI release by adding add-editorconfig.patch,
which is needed to allow the test suite to pass.
https://github.com/timothycrosley/isort/issues/814
-------------------------------------------------------------------
Sat Jul 21 04:35:40 UTC 2018 - arun@gmx.de
- specfile:
* be more specific in %files section
- update to version 4.3.4:
* Fixed issue #671: isort is corrupting CRLF files
- changes from version 4.3.3:
* Fixed issue #665: Tabs turned into single spaces
- changes from version 4.3.2:
* Fixed issue #651: Add imports option is broken
* Fixed issue #662: An error generated by rewriting .imports to
. imoprts
-------------------------------------------------------------------
Fri Feb 2 20:20:10 UTC 2018 - sebix+novell.com@sebix.at
- update to 4.3.1
* Fixed issue #654: Trailing comma count error
* Fixed issue #651: Add imports option is broken
* Fixed issue #650: Wrong error message displayed
- update to 4.3.0
* Fixed #557: force_alphabetical_sort and force_sort_within_sections can now be utilized together without extra new lines
* Added --no-lines-before for more granular control over section output
* Fixed #493: Unwanted conversion to Windows line endings
* Implemented --version-number to retrieve just the version number without the isort logo
- Remove patch-shebang.patch and replace it with a sed-call
-------------------------------------------------------------------
Wed Jun 21 15:28:33 UTC 2017 - sebix+novell.com@sebix.at
- update description
- install LICENSE as %license if possible
- update to 4.2.15
* Fixed certain one line imports not being successfully wrapped
- update to 4.2.14
* Fixed #559 & #565: Added missing standard library imports
- update to 4.2.13
* Fixed #553: Check only and --diff now work together again
- update to 4.2.12
* Fixed a problem with the wheel distribution
- update to 4.2.11
* Fixed #546: Can't select y/n/c after latest update
* Fixed #545: Incorrectly moves future imports above encoding comments
- update to 4.2.9
* Fixed #428: Check only modifies sorting
* Fixed #540: Not correctly identifying stdlib modules
- update to 4.2.8
* Added --virtual-env switch command line option
* Added --enforce-whitespace option to go along with --check-only for more exact checks (issue #423)
* Fixed imports with a tailing '' and no space in-between getting removed (issue #425)
* Fixed issue #299: long lines occasionally not wrapped
* Fixed issue #432: No longer add import inside class when class starts at top of file after encoding comment
* Fixed issue #440: Added missing --use-parentheses option to command line tool and documentation
* Fixed issue #496: import* imports now get successfully identified and reformatted instead of deleted
* Fixed issue #491: Non ending parentheses withing single line comments no longer cause formatting issues
* Fixed issue #471: Imports that wrap the maximum line length and contain comments on the last line are no longer rendered incorrectly
* Fixed issue #436: Force sort within section no longer rearranges comments
* Fixed issue #473: Force_to_top and force_sort_within_sections now work together
* Fixed issue #484 & #472: Consistent output with imports of same spelling but different case
* Fixed issue #433: No longer incorrectly add an extra new-line when comment between imports and function definition
* Fixed issue #419: Path specification for skipped paths is not Unix/Windows inter-operable.
* Breaking Changes:
* Fixed issue #511: All command line options with an underscore, have had the underscore replaced with a dash for consistency. This effects: multi-line, add-import, remove-import, force-adds, --force-single-line-imports, and length-sort.
* Replaced the --enforce-whitespace option with --ignore-whitespace to restore original behavior of strict whitespace by default
-------------------------------------------------------------------
Fri Mar 24 17:01:44 UTC 2017 - jmatejek@suse.com
- install LICENSE file
-------------------------------------------------------------------
Mon Mar 6 13:59:31 UTC 2017 - jmatejek@suse.com
- update for singlespec
-------------------------------------------------------------------
Sat Oct 8 16:07:18 UTC 2016 - sebix+novell.com@sebix.at
- use github URL to run tests after packaging
-------------------------------------------------------------------
Fri Aug 5 14:14:24 UTC 2016 - sebix+novell.com@sebix.at
- patch-shebang.patch: removed superfluous shebang for packaged file main
-------------------------------------------------------------------
Sat Jun 25 15:34:58 UTC 2016 - arun@gmx.de
- initial version