Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "added path for local homebrew installation (#267)"HEADmaster | Adam Hupp | 2023-03-30 | 1 | -11/+2 |
| | | | | This reverts commit cd3929fa7cbc2e383629d0893fc08bcb68a7614c. | ||||
* | Revert "remove python3-ism from loader" | Adam Hupp | 2023-03-30 | 1 | -2/+1 |
| | | | | This reverts commit c7a2e7bc7c387af23b3c896bf05003cf2bd8646b. | ||||
* | bump to 0.4.28 | Adam Hupp | 2023-03-30 | 2 | -1/+6 |
| | |||||
* | chore(tests): add Python 3.10 and 3.11 in CI runs/tox/trove classifier (#284) | Stevie Gayet | 2023-01-23 | 3 | -0/+5 |
| | |||||
* | remove python3-ism from loader | Adam Hupp | 2023-01-10 | 1 | -1/+2 |
| | |||||
* | don't run coverage by default in tox config | Adam Hupp | 2023-01-10 | 1 | -2/+0 |
| | |||||
* | update test for upstream added gzip extensions | Adam Hupp | 2023-01-10 | 1 | -2/+1 |
| | |||||
* | docker test cleanup | Adam Hupp | 2023-01-10 | 8 | -23/+19 |
| | |||||
* | further update README for test running changes | Adam Hupp | 2022-10-24 | 1 | -7/+8 |
| | |||||
* | add python 3.10 to tox environment list | Adam Hupp | 2022-10-24 | 1 | -2/+3 |
| | |||||
* | added path for local homebrew installation (#267) | Manuele | 2022-10-24 | 1 | -2/+11 |
| | | | | * added path for local homebrew installation * used brew --prefix to detect local path | ||||
* | Merge pull request #281 from Ekko84H/master | Adam Hupp | 2022-10-24 | 1 | -1/+1 |
|\ | | | | | corrected the command for the test for python3 | ||||
| * | corrected the command for the test for python3 | ekko | 2022-10-22 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #273 from valpogus/extend_dll_prefixes | Adam Hupp | 2022-06-20 | 1 | -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 Windows | valpogus | 2022-06-16 | 1 | -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.27 | Adam Hupp | 2022-06-07 | 2 | -1/+4 |
| | |||||
* | update CHANGELOG0.4.26 | Adam Hupp | 2022-05-22 | 1 | -0/+4 |
| | |||||
* | update to 0.4.26 | Adam Hupp | 2022-05-22 | 1 | -1/+1 |
| | |||||
* | use tox for all the multi-version testing | Adam Hupp | 2022-05-22 | 11 | -61/+40 |
| | |||||
* | rename test to match standard naming rules, so pytest finds it: ↵ | Adam Hupp | 2022-04-25 | 2 | -1/+1 |
| | | | | https://docs.pytest.org/en/6.2.x/goodpractices.html#test-discovery | ||||
* | less surprising use of abspath | Adam Hupp | 2022-04-25 | 1 | -1/+1 |
| | |||||
* | correctly find path to testdata when running from root | Adam Hupp | 2022-04-25 | 1 | -1/+5 |
| | |||||
* | improve test script name clarity; expand test docs; cleanup docker run script | Adam Hupp | 2022-04-25 | 4 | -26/+17 |
| | |||||
* | include typing stubs in package, bump to 0.4.250.4.25 | Adam Hupp | 2022-02-03 | 2 | -2/+5 |
| | |||||
* | Merge pull request #257 from vivienm/master | Adam Hupp | 2021-12-30 | 1 | -1/+1 |
|\ | | | | | Include type stubs in package | ||||
| * | Include type stubs in package | Vivien Maisonneuve | 2021-12-30 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #253 from marxin/python-bytecode | Adam Hupp | 2021-10-23 | 1 | -1/+1 |
|\ | | | | | Support file 5.41. | ||||
| * | Support file 5.41. | Martin Liska | 2021-10-22 | 1 | -1/+1 |
|/ | | | | | In https://github.com/file/file/commit/7d9b0f0d853957ad88dae0f440fecd58d2740ca7, the MIME was changed for Python bytecode. | ||||
* | Support os.PathLike types | Adam Hupp | 2021-10-04 | 5 | -6/+41 |
| | | | | See https://github.com/ahupp/python-magic/pull/251 | ||||
* | Fix compat mode handling with empty mime string | Adam Hupp | 2021-09-02 | 2 | -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.24 | Adam Hupp | 2021-06-03 | 2 | -1/+4 |
| | |||||
* | fix alpine library loading | Adam Hupp | 2021-06-03 | 9 | -14/+10 |
| | |||||
* | add changelog for 0.4.230.4.23 | Adam Hupp | 2021-06-01 | 2 | -1/+8 |
| | |||||
* | Update tests and docker config for newer versions | Adam Hupp | 2021-06-01 | 4 | -5/+10 |
| | |||||
* | Cleanup library loading | Adam Hupp | 2021-06-01 | 1 | -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 package | Adam Hupp | 2021-05-21 | 1 | -1/+3 |
| | |||||
* | add py.typed sentinal per ↵ | Adam Hupp | 2021-05-21 | 2 | -0/+1 |
| | | | | https://www.python.org/dev/peps/pep-0561/#packaging-type-information | ||||
* | Merge pull request #244 from jspricke/fix_del_cookie | Adam Hupp | 2021-05-17 | 1 | -3/+1 |
|\ | | | | | Check for cookie attribute before trying to delete it | ||||
| * | Check for cookie attribute before trying to delete it | Jochen Sprickerhof | 2021-05-16 | 1 | -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 Sprickerhof | 2021-05-16 | 1 | -2/+0 |
|/ | | | | This reverts commit 16972c2c6fda3573860f5f8b0f2c03b757e71d3c. | ||||
* | Merge pull request #243 from EtiennePelletier/fix_typo | Adam Hupp | 2021-05-10 | 4 | -6/+6 |
|\ | | | | | Fix typo (compatability --> compatibility) | ||||
| * | Fix typo (compatability --> compatibility) | EtiennePelletier | 2021-05-10 | 4 | -6/+6 |
|/ | |||||
* | Merge pull request #241 from gitter-badger/gitter-badge | Adam Hupp | 2021-04-25 | 1 | -1/+1 |
|\ | | | | | Add a Gitter chat badge to README.md | ||||
| * | Add Gitter badge | The Gitter Badger | 2021-04-25 | 1 | -1/+1 |
|/ | |||||
* | Update README.md | Adam Hupp | 2021-04-16 | 1 | -2/+2 |
| | |||||
* | Fix yet another import error0.4.22 | Adam Hupp | 2021-02-16 | 3 | -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 linux | Adam Hupp | 2021-02-16 | 3 | -12/+5 |
| | |||||
* | update version and changeload0.4.21 | Adam Hupp | 2021-02-16 | 2 | -1/+6 |
| | |||||
* | Factor out dll loader so it can be used by both compat and standard library | Adam Hupp | 2021-02-16 | 3 | -43/+43 |
| | | | | https://github.com/ahupp/python-magic/issues/232 | ||||
* | just select magic package, not tests0.4.20 | Adam Hupp | 2021-01-15 | 1 | -1/+1 |
| |