Ben Kurtovic
b7ebc705c8
Update changelog
1 ano atrás
Ben Kurtovic
8bce6ff379
Drop EOL Python 3.7
1 ano atrás
Ben Kurtovic
8c8d4463ac
Drop Python 3.6, add 3.11
1 ano atrás
Ben Kurtovic
3ae07d450a
Add Python 3.10 to Linux/macOS wheel builds; drop 3.5 ( #278 )
3 anos atrás
Ben Kurtovic
8cd0bdb322
Autoformat: black + clang-format + clang-tidy
3 anos atrás
Ben Kurtovic
4e63226f6b
Fix setup.py test invocation ( #263 )
3 anos atrás
Ben Kurtovic
90b47f09e9
Add find_packages() back to setup.py ( fixes #263 )
3 anos atrás
Ben Kurtovic
297bcb0cee
Move mwparserfromhell to src/ dir
3 anos atrás
Ben Kurtovic
b7b3b2e33e
Update changelog; minor tweak to file headers
3 anos atrás
Ben Kurtovic
1c983d3738
Assorted cleanup, linter fixes, and improvements for Python 3
3 anos atrás
Ben Kurtovic
d650f827b3
Drop EOL Python 3.4 support
4 anos atrás
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.
4 anos atrás
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.
4 anos atrás
Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
4 anos atrás
Ben Kurtovic
1d5db41751
Add Python 3.8 to CI
5 anos atrás
Ben Kurtovic
de6e671c40
Update changelog, remove now-unneeded test discovery script, cleanup
6 anos atrás
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
6 anos atrás
Hugo
59636609db
Drop support for EOL Python
6 anos atrás
Ben Kurtovic
1a4e2fc019
Add Python 3.7 to trove classifiers.
6 anos atrás
Ben Kurtovic
c3ec81adc3
Try Python 3.6 in Travis ( #173 )
7 anos atrás
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 >.
7 anos atrás
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
8 anos atrás
Ben Kurtovic
0e547aa416
Begin splitting up C tokenizer.
9 anos atrás
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.
9 anos atrás
Ben Kurtovic
04188b590e
Start work on support for Python 3.5 (for #101 )
9 anos atrás
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
9 anos atrás
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.
9 anos atrás
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.
9 anos atrás
Kunal Mehta
cb875ae347
Force opening README.rst as utf-8
Causes issues if the locale is not set to utf-8
10 anos atrás
Ben Kurtovic
d8adb62454
Some tweaks, but no change in functionality.
10 anos atrás
Ben Kurtovic
5d08e9e316
Created a release script; added a MANIFEST.in file.
10 anos atrás
Ben Kurtovic
fa89cd8da8
Python 3.4 is good.
10 anos atrás
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.
10 anos atrás
Marcio Faustino
a65357a535
Correct dependency for Python 3.
10 anos atrás
Marcio Faustino
2183003997
Python 2.6 is now supported.
10 anos atrás
Marcio Faustino
88c8fb88e0
Switch to `unittest2` to be able to use new features in Python 2.6.
10 anos atrás
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
11 anos atrás
Merlijn van Deen
df181947af
setup.py: Raise Exception on unsupported platforms
11 anos atrás
Ben Kurtovic
066049b46a
Update email address.
11 anos atrás
Ben Kurtovic
37003d2ed1
Bump version to 0.4.dev and add support for Python 3.2.
11 anos atrás
Ben Kurtovic
c7617c3eb3
Bump version to 0.4.dev; also update README and setup.py.
11 anos atrás
Ben Kurtovic
0e19b20156
release/0.3
11 anos atrás
Ben Kurtovic
25d53cacf8
Begin porting C tokenizer to Python 3.
11 anos atrás
Ben Kurtovic
a3a35b1e73
Only compile Tokenizer on Python 2 for now.
11 anos atrás
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
11 anos atrás
Ben Kurtovic
1f47e10f04
Start some Py3k compatibility stuff.
12 anos atrás
Ben Kurtovic
4cc4791d48
Adding a bunch more, and implementing Tokenizer_push_textbuffer.
12 anos atrás
Ben Kurtovic
e0660f8bc3
Committing this C work for now.
12 anos atrás
Ben Kurtovic
ce43b44596
Copyedit, fixes, clarify Python 2 + 3 support.
12 anos atrás
Ben Kurtovic
4cb3506820
Update copyright notice; some additions.
12 anos atrás