summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "added path for local homebrew installation (#267)"HEADmasterAdam Hupp2023-03-301-11/+2
| | | | This reverts commit cd3929fa7cbc2e383629d0893fc08bcb68a7614c.
* Revert "remove python3-ism from loader"Adam Hupp2023-03-301-2/+1
| | | | This reverts commit c7a2e7bc7c387af23b3c896bf05003cf2bd8646b.
* bump to 0.4.28Adam Hupp2023-03-302-1/+6
|
* chore(tests): add Python 3.10 and 3.11 in CI runs/tox/trove classifier (#284)Stevie Gayet2023-01-233-0/+5
|
* remove python3-ism from loaderAdam Hupp2023-01-101-1/+2
|
* don't run coverage by default in tox configAdam Hupp2023-01-101-2/+0
|
* update test for upstream added gzip extensionsAdam Hupp2023-01-101-2/+1
|
* docker test cleanupAdam Hupp2023-01-108-23/+19
|
* further update README for test running changesAdam Hupp2022-10-241-7/+8
|
* add python 3.10 to tox environment listAdam Hupp2022-10-241-2/+3
|
* added path for local homebrew installation (#267)Manuele2022-10-241-2/+11
| | | | * added path for local homebrew installation * used brew --prefix to detect local path
* Merge pull request #281 from Ekko84H/masterAdam Hupp2022-10-241-1/+1
|\ | | | | corrected the command for the test for python3
| * corrected the command for the test for python3ekko2022-10-221-1/+1
|/
* Merge pull request #273 from valpogus/extend_dll_prefixesAdam Hupp2022-06-201-1/+1
|\ | | | | Add "magic-1.dll" to the list of DLL files to search for on Windows
| * Add "magic-1.dll" to the list of DLL files to search for on Windowsvalpogus2022-06-161-1/+1
|/ | | | This is the name of the DLL file generated when using vcpkg to build libmagic: https://github.com/microsoft/vcpkg/tree/master/ports/libmagic
* bump version to remove accidental pyproject.toml in sdist0.4.27Adam Hupp2022-06-072-1/+4
|
* update CHANGELOG0.4.26Adam Hupp2022-05-221-0/+4
|
* update to 0.4.26Adam Hupp2022-05-221-1/+1
|
* use tox for all the multi-version testingAdam Hupp2022-05-2211-61/+40
|
* rename test to match standard naming rules, so pytest finds it: ↵Adam Hupp2022-04-252-1/+1
| | | | https://docs.pytest.org/en/6.2.x/goodpractices.html#test-discovery
* less surprising use of abspathAdam Hupp2022-04-251-1/+1
|
* correctly find path to testdata when running from rootAdam Hupp2022-04-251-1/+5
|
* improve test script name clarity; expand test docs; cleanup docker run scriptAdam Hupp2022-04-254-26/+17
|
* include typing stubs in package, bump to 0.4.250.4.25Adam Hupp2022-02-032-2/+5
|
* Merge pull request #257 from vivienm/masterAdam Hupp2021-12-301-1/+1
|\ | | | | Include type stubs in package
| * Include type stubs in packageVivien Maisonneuve2021-12-301-1/+1
|/
* Merge pull request #253 from marxin/python-bytecodeAdam Hupp2021-10-231-1/+1
|\ | | | | Support file 5.41.
| * Support file 5.41.Martin Liska2021-10-221-1/+1
|/ | | | | In https://github.com/file/file/commit/7d9b0f0d853957ad88dae0f440fecd58d2740ca7, the MIME was changed for Python bytecode.
* Support os.PathLike typesAdam Hupp2021-10-045-6/+41
| | | | See https://github.com/ahupp/python-magic/pull/251
* Fix compat mode handling with empty mime stringAdam Hupp2021-09-022-1/+7
| | | | | | I can't repro this, but PR #250 suggests that some versions of libmagic will return a mimetype that doesn't include a charset, leading to an exception. Fall back to an empty charset in this case.
* bump to 0.4.240.4.24Adam Hupp2021-06-032-1/+4
|
* fix alpine library loadingAdam Hupp2021-06-039-14/+10
|
* add changelog for 0.4.230.4.23Adam Hupp2021-06-012-1/+8
|
* Update tests and docker config for newer versionsAdam Hupp2021-06-014-5/+10
|
* Cleanup library loadingAdam Hupp2021-06-011-35/+40
| | | | | | | | Simplify library loading so it's clearer what should happen for each platform. There is a very small chance this is a regression if you were somehow relying on windows DLL names on a non-windows platform. Also resolves https://github.com/ahupp/python-magic/pull/245
* actually try building packageAdam Hupp2021-05-211-1/+3
|
* add py.typed sentinal per ↵Adam Hupp2021-05-212-0/+1
| | | | https://www.python.org/dev/peps/pep-0561/#packaging-type-information
* Merge pull request #244 from jspricke/fix_del_cookieAdam Hupp2021-05-171-3/+1
|\ | | | | Check for cookie attribute before trying to delete it
| * Check for cookie attribute before trying to delete itJochen Sprickerhof2021-05-161-1/+1
| | | | | | | | | | | | | | | | | | __del__ is called regardless of whether __init__ passed, so the cookie attribute may not exits. This can be seen with: python3 -c "import magic; magic.Magic(foo=None)" Also discussed in https://github.com/ahupp/python-magic/pull/222#issuecomment-675354824
| * Revert "Fix bug in Magic when destructor called too early"Jochen Sprickerhof2021-05-161-2/+0
|/ | | | This reverts commit 16972c2c6fda3573860f5f8b0f2c03b757e71d3c.
* Merge pull request #243 from EtiennePelletier/fix_typoAdam Hupp2021-05-104-6/+6
|\ | | | | Fix typo (compatability --> compatibility)
| * Fix typo (compatability --> compatibility)EtiennePelletier2021-05-104-6/+6
|/
* Merge pull request #241 from gitter-badger/gitter-badgeAdam Hupp2021-04-251-1/+1
|\ | | | | Add a Gitter chat badge to README.md
| * Add Gitter badgeThe Gitter Badger2021-04-251-1/+1
|/
* Update README.mdAdam Hupp2021-04-161-2/+2
|
* Fix yet another import error0.4.22Adam Hupp2021-02-163-2/+3
| | | | | | | Seems to hit windows, probably OSX. We have great test coverage across linux distros, not so much elsewhere. Tested on my windows box by manually installing the wheel file.
* add docker test for alpine linuxAdam Hupp2021-02-163-12/+5
|
* update version and changeload0.4.21Adam Hupp2021-02-162-1/+6
|
* Factor out dll loader so it can be used by both compat and standard libraryAdam Hupp2021-02-163-43/+43
| | | | https://github.com/ahupp/python-magic/issues/232
* just select magic package, not tests0.4.20Adam Hupp2021-01-151-1/+1
|