summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* bump to 0.4.20Adam Hupp2021-01-153-6/+9
|
* remove contributors because its far out of date0.4.19Adam Hupp2021-01-151-15/+0
|
* fix typo in COMPAT.mdAdam Hupp2021-01-151-1/+2
|
* restore more 2.7 compatAdam Hupp2021-01-151-1/+1
|
* add more doc pointers for compat mode, and enable PendingDeprecationWarningAdam Hupp2021-01-152-17/+19
|
* restore python 2.7 to setup.py, to preserve back compatAdam Hupp2021-01-151-0/+1
|
* document libmagic compat layerAdam Hupp2021-01-151-0/+16
|
* prefix add_compat with an underscore to avoid namespace pollutionAdam Hupp2021-01-151-2/+2
|
* remove from_open_file, since its duplicative with from_descriptor and hasnt ↵Adam Hupp2021-01-152-17/+0
| | | | been released yet
* changelog for 0.4.19Adam Hupp2021-01-151-0/+22
|
* move typing stubs next to implementationAdam Hupp2021-01-151-0/+0
|
* skip magic_descriptor tests in centos 7Adam Hupp2021-01-154-4/+22
|
* cpAdam Hupp2021-01-151-1/+2
|
* temorarily remove dropped support for python2Adam Hupp2021-01-151-2/+9
|
* bump version to 0.4.19Adam Hupp2021-01-151-1/+1
|