closeio / lintlizard

For a good clean code feeling no matter what!
MIT License
5 stars 2 forks source link

Bump pathspec from 0.9.0 to 0.10.0 #126

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps pathspec from 0.9.0 to 0.10.0.

Release notes

Sourced from pathspec's releases.

v0.10.0

Release v0.10.0. See CHANGES.rst.

Changelog

Sourced from pathspec's changelog.

0.10.0 (2022-08-30)

Major changes:

  • Dropped support of EOL Python 2.7, 3.5, 3.6. See Issue [#47](https://github.com/cpburnz/python-pathspec/issues/47)_.
  • The gitwildmatch pattern dir/* is now handled the same as dir/. This means dir/* will now match all descendants rather than only direct children. See Issue [#19](https://github.com/cpburnz/python-pathspec/issues/19)_.
  • Added pathspec.GitIgnoreSpec class (see new features).
  • Changed build system to pyproject.toml_ and build backend to setuptools.build_meta_ which may have unforeseen consequences.
  • Renamed GitHub project from python-path-specification_ to python-pathspec. See Issue [#35](https://github.com/cpburnz/python-pathspec/issues/35).

API changes:

  • Deprecated: pathspec.util.match_files() is an old function no longer used.
  • Deprecated: pathspec.match_files() is an old function no longer used.
  • Deprecated: pathspec.util.normalize_files() is no longer used.
  • Deprecated: pathspec.util.iter_tree() is an alias for pathspec.util.iter_tree_files().
  • Deprecated: pathspec.iter_tree() is an alias for pathspec.util.iter_tree_files().
  • Deprecated: pathspec.pattern.Pattern.match() is no longer used. Use or implement pathspec.pattern.Pattern.match_file().

New features:

  • Added class pathspec.gitignore.GitIgnoreSpec (with alias pathspec.GitIgnoreSpec) to implement gitignore behavior not possible with standard PathSpec class. The particular gitignore behavior implemented is prioritizing patterns matching the file directly over matching an ancestor directory.

Bug fixes:

  • Issue [#19](https://github.com/cpburnz/python-pathspec/issues/19)_: Files inside an ignored sub-directory are not matched.
  • Issue [#41](https://github.com/cpburnz/python-pathspec/issues/41)_: Incorrectly (?) matches files inside directories that do match.
  • Issue [#51](https://github.com/cpburnz/python-pathspec/issues/51)_: Refactor deprecated unittest aliases for Python 3.11 compatibility.
  • Issue [#53](https://github.com/cpburnz/python-pathspec/issues/53)_: Symlink pathspec_meta.py breaks Windows.
  • Issue [#54](https://github.com/cpburnz/python-pathspec/issues/54)_: test_util.py uses os.symlink which can fail on Windows.
  • Issue [#55](https://github.com/cpburnz/python-pathspec/issues/55)_: Backslashes at start of pattern not handled correctly.
  • Issue [#56](https://github.com/cpburnz/python-pathspec/issues/56)_: pyproject.toml: include subpackages in setuptools config
  • Issue [#57](https://github.com/cpburnz/python-pathspec/issues/57)_: ! doesn't exclude files in directories if the pattern doesn't have a trailing slash.

Improvements:

  • Support Python 3.10, 3.11.
  • Modernize code to Python 3.7.
  • Issue [#52](https://github.com/cpburnz/python-pathspec/issues/52): match_files() is not a pure generator function, and it impacts tree*() gravely.

.. _python-path-specification: https://github.com/cpburnz/python-path-specification .. _python-pathspec: https://github.com/cpburnz/python-pathspec .. _pyproject.toml: https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/ .. _setuptools.build_meta: https://setuptools.pypa.io/en/latest/build_meta.html .. _Issue [#19](https://github.com/cpburnz/python-pathspec/issues/19): cpburnz/python-pathspec#19 .. _Issue [#35](https://github.com/cpburnz/python-pathspec/issues/35): cpburnz/python-pathspec#35 .. _Issue [#41](https://github.com/cpburnz/python-pathspec/issues/41): cpburnz/python-pathspec#41

... (truncated)

Commits


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.


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[bot] commented 2 years ago

Superseded by #128.