Ben Kurtovic
b7ebc705c8
Update changelog
há 1 ano
Ben Kurtovic
8bce6ff379
Drop EOL Python 3.7
há 1 ano
Ben Kurtovic
8c8d4463ac
Drop Python 3.6, add 3.11
há 1 ano
Ben Kurtovic
3ae07d450a
Add Python 3.10 to Linux/macOS wheel builds; drop 3.5 ( #278 )
há 3 anos
Ben Kurtovic
8cd0bdb322
Autoformat: black + clang-format + clang-tidy
há 3 anos
Ben Kurtovic
4e63226f6b
Fix setup.py test invocation ( #263 )
há 3 anos
Ben Kurtovic
90b47f09e9
Add find_packages() back to setup.py ( fixes #263 )
há 3 anos
Ben Kurtovic
297bcb0cee
Move mwparserfromhell to src/ dir
há 3 anos
Ben Kurtovic
b7b3b2e33e
Update changelog; minor tweak to file headers
há 3 anos
Ben Kurtovic
1c983d3738
Assorted cleanup, linter fixes, and improvements for Python 3
há 3 anos
Ben Kurtovic
d650f827b3
Drop EOL Python 3.4 support
há 4 anos
Kunal Mehta
03181bcd8b
Port tests to use pytest
pytest is the preferred way to write and run unit tests these days and
it has a cleaner interface - so lets switch to it. The tokenizer tests
especially are much easier to read/understand.
This was mostly done with find/replace regexes and then cleaned up
manually.
há 4 anos
Kunal Mehta
91ed26d864
Set python_requires in setup.py to ">= 3.4"
In addition to replacing the manual version check, this will also
instruct pip to download an older version of mwparserfromhell for
users running earlier Python versions rather than just getting something
broken.
há 4 anos
Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
há 4 anos
Ben Kurtovic
1d5db41751
Add Python 3.8 to CI
há 5 anos
Ben Kurtovic
de6e671c40
Update changelog, remove now-unneeded test discovery script, cleanup
há 6 anos
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
há 6 anos
Hugo
59636609db
Drop support for EOL Python
há 6 anos
Ben Kurtovic
1a4e2fc019
Add Python 3.7 to trove classifiers.
há 6 anos
Ben Kurtovic
c3ec81adc3
Try Python 3.6 in Travis ( #173 )
há 8 anos
Reiner Herrmann
c9cd504f14
setup.py: Make source files be in a deterministic order
To make the package build reproducibly, sort the source files in a
deterministic order instead of just globbing them.
Patch originally from
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842628 >.
há 8 anos
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
há 8 anos
Ben Kurtovic
0e547aa416
Begin splitting up C tokenizer.
há 9 anos
Ben Kurtovic
c7497ddf63
Updates to installation/release code.
* Remove unnecessary win_install.ps1.
* Add appveyor version update to release script.
* Make setup.py's pure Python fallback code less intrusive.
há 9 anos
Ben Kurtovic
04188b590e
Start work on support for Python 3.5 (for #101 )
há 9 anos
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
há 10 anos
John Vandenberg
4e8ce52385
Support 'setup.py test' and test without extension
'setup.py test' also uses SystemExit, with args[0] as False.
Detect and re-raise.
Add support for building without extension even when compiler
is functional, and set up extension-less travis builds.
há 10 anos
John Vandenberg
de325a0aea
Issue #26 Use pure python on compilation failure
Allow the compilation of the extension to fail, and switch
to pure python mode.
há 10 anos
Kunal Mehta
cb875ae347
Force opening README.rst as utf-8
Causes issues if the locale is not set to utf-8
há 10 anos
Ben Kurtovic
d8adb62454
Some tweaks, but no change in functionality.
há 10 anos
Ben Kurtovic
5d08e9e316
Created a release script; added a MANIFEST.in file.
há 10 anos
Ben Kurtovic
fa89cd8da8
Python 3.4 is good.
há 10 anos
Ben Kurtovic
1312a1fb8a
Some clean up for Python 2.6 support.
* Removed unittest2 dependency on Python >2.6.
* Moved discover_tests.py into tests/.
* tokenizer.c: Fixed errors noted by -Wshorten-64-to-32.
há 10 anos
Marcio Faustino
a65357a535
Correct dependency for Python 3.
há 10 anos
Marcio Faustino
2183003997
Python 2.6 is now supported.
há 10 anos
Marcio Faustino
88c8fb88e0
Switch to `unittest2` to be able to use new features in Python 2.6.
há 10 anos
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
há 11 anos
Merlijn van Deen
df181947af
setup.py: Raise Exception on unsupported platforms
há 11 anos
Ben Kurtovic
066049b46a
Update email address.
há 11 anos
Ben Kurtovic
37003d2ed1
Bump version to 0.4.dev and add support for Python 3.2.
há 11 anos
Ben Kurtovic
c7617c3eb3
Bump version to 0.4.dev; also update README and setup.py.
há 11 anos
Ben Kurtovic
0e19b20156
release/0.3
há 11 anos
Ben Kurtovic
25d53cacf8
Begin porting C tokenizer to Python 3.
há 11 anos
Ben Kurtovic
a3a35b1e73
Only compile Tokenizer on Python 2 for now.
há 11 anos
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
há 12 anos
Ben Kurtovic
1f47e10f04
Start some Py3k compatibility stuff.
há 12 anos
Ben Kurtovic
4cc4791d48
Adding a bunch more, and implementing Tokenizer_push_textbuffer.
há 12 anos
Ben Kurtovic
e0660f8bc3
Committing this C work for now.
há 12 anos
Ben Kurtovic
ce43b44596
Copyedit, fixes, clarify Python 2 + 3 support.
há 12 anos
Ben Kurtovic
4cb3506820
Update copyright notice; some additions.
há 12 anos