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

chore(deps): bump python-magic from 0.4.25 to 0.4.27 #12

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 7, 2022

Bumps python-magic from 0.4.25 to 0.4.27.

Changelog

Sourced from python-magic's changelog.

Changes to 0.4.27:

  • remove spurious pyproject.toml that breaks source builds

Changes to 0.4.26:

  • Use tox for all multi-version testing
  • Fix use of pytest, use it via tox

Changes to 0.4.25:

  • Support os.PathLike values in Magic.from_file and magic.from_file
  • Handle some versions of libmagic that return mime string without charset
  • Fix tests for file 5.41
  • Include typing stub in package

Changes to 0.4.24:

  • Fix regression in library loading on some Alpine docker images.

Changes to 0.4.23

  • Include a py.typed sentinal to enable type checking
  • Improve fix for attribute error during destruction
  • Cleanup library loading logic
  • Add new homebrew library dir for OSX

Changes to 0.4.21, 0.4.22

  • Unify dll loader between the standard and compat library, fixing load failures on some previously supported platforms.

Changes to 0.4.20

  • merge in a compatibility layer for the upstream libmagic python binding. Since both this package and that one are called 'magic', this compat layer removes a very common source of runtime errors. Use of that libmagic API will produce a deprecation warning.

  • support python 3.9 in tests and pypi metadata

  • add support for magic_descriptor functions, which take a file descriptor rather than a filename.

  • sometimes the returned description includes snippets of the file, e.g a title for MS Word docs. Since this is in an unknown encoding, we would throw a unicode decode error trying to decode. Now, it decodes with 'backslashreplace' to handle this more gracefully. The undecodable characters are replaced with hex escapes.

  • add support for MAGIC_EXTENSION, to return possible file extensions.

  • add mypy typing stubs file, for type checking

... (truncated)

Commits
  • b443195 bump version to remove accidental pyproject.toml in sdist
  • 73e98a5 update CHANGELOG
  • 65a971f update to 0.4.26
  • 51e34d2 use tox for all the multi-version testing
  • 585373b rename test to match standard naming rules, so pytest finds it: https://docs....
  • de97f00 less surprising use of abspath
  • 7e76072 correctly find path to testdata when running from root
  • 6b34bde improve test script name clarity; expand test docs; cleanup docker run script
  • See full diff 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 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)

Bumps [python-magic](https://github.com/ahupp/python-magic) from 0.4.25 to 0.4.27.
- [Release notes](https://github.com/ahupp/python-magic/releases)
- [Changelog](https://github.com/ahupp/python-magic/blob/master/CHANGELOG)
- [Commits](ahupp/python-magic@0.4.25...0.4.27)

---
updated-dependencies:
- dependency-name: python-magic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants