Skip to content

Upgrade: Update python-magic requirement from >=0.4.14 to >=0.4.27#38

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-magic-gte-0.4.27
Open

Upgrade: Update python-magic requirement from >=0.4.14 to >=0.4.27#38
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-magic-gte-0.4.27

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Updates the requirements on python-magic to permit the latest version.

Changelog

Sourced from python-magic's changelog.

Changes to 0.4.29:

  • support MAGIC_SYMLINK (via follow_symlink flag on Magic constructor)
  • correctly throw FileNotFoundException depending on flag

Changes to 0.4.28:

  • support "magic-1.dll" on Windows, which is produced by vcpkg
  • add python 3.10 to tox config
  • update test for upstream gzip extensions

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

... (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
  • 0fb1922 include typing stubs in package, bump to 0.4.25
  • f8e5ca3 Merge pull request #257 from vivienm/master
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 19, 2026
Updates the requirements on [python-magic](https://github.com/ahupp/python-magic) to permit the latest version.
- [Changelog](https://github.com/ahupp/python-magic/blob/master/CHANGELOG)
- [Commits](ahupp/python-magic@0.4.14...0.4.27)

---
updated-dependencies:
- dependency-name: python-magic
  dependency-version: 0.4.27
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/python-magic-gte-0.4.27 branch from ad9bc53 to d233546 Compare May 26, 2026 18:01
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants