python-openapi / openapi-spec-validator

OpenAPI Spec Validator is a CLI, pre-commit hook and python package that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger), OpenAPI 3.0 and OpenAPI 3.1 specification.
Apache License 2.0
323 stars 61 forks source link

Bump deptry from 0.12.0 to 0.14.0 #344

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps deptry from 0.12.0 to 0.14.0.

Release notes

Sourced from deptry's releases.

0.14.0

What's Changed

This release significantly improves the speed of deptry, particularly for large projects, by utilizing Rust to manage the parsing of Abstract Syntax Trees (AST) from .py files and to extract the import statements. For some benchmarks, see below:

Changes

Since the changes are all in the back-end, little has changed for the user other than the execution speed. The two minor notable changes are:

  • Improved identification of column identifier in imports detection. Where earlier the column identifier for an imported module foo in the line import foo would be 0, it now points to column 8.
  • When a file can not be read, the error will be slightly more verbose and include the source file and line pointing to the location in deptry's source code responsible for logging the warning. So instead of Warning: File file1.py could not be read. Skipping..., the error will now read WARNING deptry.imports:imports.rs:66 Warning: File file1.py could not be read. Skipping.... This will likely be reverted in the future.

Available wheels on PyPi

Where earlier releases published a single .whl file to PyPi, with the move to Rust we now build and publish wheels for a variety of platforms and architectures. More specifically, wheel files for the following combinations are now available on PyPi:

  • Linux: ABI3 wheels for x86_64 and aarch64 architectures.
  • Windows: ABI3 wheels for the x64 architecture.
  • macOS: ABI3 wheels for x86_64 and aarch64 (Apple Silicon) architectures.

Alongside the ABI3 wheels, we provide a source distribution (sdist) package.

Full Changelog: https://github.com/fpgmaas/deptry/compare/0.13.0...0.14.0

0.14.0a1

This release speeds up deptry significantly, especially on large projects, by leveraging Rust to handle the parsing of the Abstract Syntax Trees (AST) from .py files and the extraction of import statements.

What's Changed

Full Changelog: https://github.com/fpgmaas/deptry/compare/0.13.0...0.14.0a1

0.13.0

What's Changed

Features

Bug Fixes

Full Changelog: https://github.com/fpgmaas/deptry/compare/0.12.0...0.13.0

Changelog

Sourced from deptry's changelog.

0.14.0 - 2024-03-14

This release significantly improves the speed of deptry, particularly for large projects, by utilizing Rust to manage the parsing of Abstract Syntax Trees (AST) from .py files and to extract the import statements. For some benchmarks, see below:

Changes

Since the changes are all in the back-end, little has changed for the user other than the execution speed. The two minor notable changes are:

  • Improved identification of column identifier in imports detection. Where earlier the column identifier for an imported module foo in the line import foo would be 0, it now points to column 8.
  • When a file can not be read, the error will be slightly more verbose and include the source file and line pointing to the location in deptry's source code responsible for logging the warning. So instead of Warning: File file1.py could not be read. Skipping..., the error will now read WARNING deptry.imports:imports.rs:66 Warning: File file1.py could not be read. Skipping.... This will likely be reverted in the future.

Available wheels on PyPi

Where earlier releases published a single .whl file to PyPi, with the move to Rust we now build and publish wheels for a variety of platforms and architectures. More specifically, wheel files for the following combinations are now available on PyPi:

  • Linux: ABI3 wheels for x86_64 and aarch64 architectures.
  • Windows: ABI3 wheels for the x64 architecture.
  • macOS: ABI3 wheels for x86_64 and aarch64 (Apple Silicon) architectures.

Alongside the ABI3 wheels, we provide a source distribution (sdist) package.

Full Changelog: https://github.com/fpgmaas/deptry/compare/0.13.0...0.14.0

0.13.0 - 2024-03-12

Features

  • deptry will now report invalid configuration options defined in pyproject.toml (#571)

Bug Fixes

  • Stricten URL detection to avoid flagging libraries like httpx as URLs (#570)

Full Changelog

https://github.com/fpgmaas/deptry/compare/0.12.0...0.13.0

Commits
  • 8e002b7 chore(deps): update codecov/codecov-action action to v4 (#562)
  • 78ace96 Small fix in the docs (#586)
  • a13add1 WIP: Import extraction with Rust (#581)
  • d25dbde docs(changelog): add 0.13.0 release notes (#582)
  • 7c7a995 feat(config): detect invalid pyproject.toml options (#571)
  • 503d884 chore(deps): update dependency mypy to v1.9.0 (#577)
  • a4c6980 chore(packaging): add link to changelog in metadata (#574)
  • 86123eb chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.3.2 (#578)
  • 9356bfc chore(deps): lock file maintenance
  • 52af1e3 chore(deps): update dependency mkdocs-material to v9.5.13
  • 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.


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.45%. Comparing base (784515a) to head (b1d1757).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #344 +/- ## ======================================= Coverage 93.45% 93.45% ======================================= Files 24 24 Lines 749 749 Branches 107 107 ======================================= Hits 700 700 Misses 36 36 Partials 13 13 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.