| @@ -0,0 +1,8 @@ | |||||
| version: 2 | |||||
| build: | |||||
| os: ubuntu-22.04 | |||||
| tools: | |||||
| python: "3.11" | |||||
| sphinx: | |||||
| configuration: docs/conf.py | |||||
| @@ -1,3 +1,7 @@ | |||||
| v0.7 (unreleased): | |||||
| - ... | |||||
| v0.6.5 (released September 5, 2023): | v0.6.5 (released September 5, 2023): | ||||
| - Dropped support for end-of-life Python 3.6. | - Dropped support for end-of-life Python 3.6. | ||||
| @@ -1,6 +1,6 @@ | |||||
| # This config file is used by appveyor.com to build Windows release binaries | # This config file is used by appveyor.com to build Windows release binaries | ||||
| version: 0.6.5-b{build} | |||||
| version: 0.7.dev0-b{build} | |||||
| branches: | branches: | ||||
| only: | only: | ||||
| @@ -1,6 +1,14 @@ | |||||
| Changelog | Changelog | ||||
| ========= | ========= | ||||
| v0.7 | |||||
| ---- | |||||
| Unreleased | |||||
| (`changes <https://github.com/earwig/mwparserfromhell/compare/v0.6.5...main>`__): | |||||
| - ... | |||||
| v0.6.5 | v0.6.5 | ||||
| ------ | ------ | ||||
| @@ -74,7 +74,7 @@ do_git_stuff() { | |||||
| upload_to_pypi() { | upload_to_pypi() { | ||||
| echo -n "PyPI: uploading source tarball..." | echo -n "PyPI: uploading source tarball..." | ||||
| python setup.py -q sdist | python setup.py -q sdist | ||||
| twine upload -s dist/mwparserfromhell-$VERSION* | |||||
| twine upload dist/mwparserfromhell-$VERSION* | |||||
| echo " done." | echo " done." | ||||
| } | } | ||||
| @@ -115,21 +115,11 @@ test_release() { | |||||
| echo " done." | echo " done." | ||||
| fi | fi | ||||
| pip -q uninstall -y mwparserfromhell | pip -q uninstall -y mwparserfromhell | ||||
| echo -n "Downloading mwparserfromhell source tarball and GPG signature..." | |||||
| echo -n "Downloading mwparserfromhell source tarball..." | |||||
| curl -sL "https://pypi.io/packages/source/m/mwparserfromhell/mwparserfromhell-$VERSION.tar.gz" -o "mwparserfromhell.tar.gz" | curl -sL "https://pypi.io/packages/source/m/mwparserfromhell/mwparserfromhell-$VERSION.tar.gz" -o "mwparserfromhell.tar.gz" | ||||
| curl -sL "https://pypi.io/packages/source/m/mwparserfromhell/mwparserfromhell-$VERSION.tar.gz.asc" -o "mwparserfromhell.tar.gz.asc" | |||||
| echo " done." | echo " done." | ||||
| echo "Verifying tarball..." | |||||
| gpg --verify mwparserfromhell.tar.gz.asc mwparserfromhell.tar.gz | |||||
| if [[ "$?" != "0" ]]; then | |||||
| echo "*** ERROR: GPG signature verification failed!" | |||||
| deactivate | |||||
| cd .. | |||||
| rm -rf $virtdir | |||||
| exit 1 | |||||
| fi | |||||
| tar -xf mwparserfromhell.tar.gz | tar -xf mwparserfromhell.tar.gz | ||||
| rm mwparserfromhell.tar.gz mwparserfromhell.tar.gz.asc | |||||
| rm mwparserfromhell.tar.gz | |||||
| cd mwparserfromhell-$VERSION | cd mwparserfromhell-$VERSION | ||||
| echo "Running unit tests..." | echo "Running unit tests..." | ||||
| python setup.py -q install | python setup.py -q install | ||||
| @@ -1,4 +1,4 @@ | |||||
| # Copyright (C) 2012-2022 Ben Kurtovic <ben.kurtovic@gmail.com> | |||||
| # Copyright (C) 2012-2023 Ben Kurtovic <ben.kurtovic@gmail.com> | |||||
| # | # | ||||
| # Permission is hereby granted, free of charge, to any person obtaining a copy | # Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| # of this software and associated documentation files (the "Software"), to deal | # of this software and associated documentation files (the "Software"), to deal | ||||
| @@ -25,9 +25,9 @@ outrageously powerful parser for `MediaWiki <https://www.mediawiki.org>`_ wikico | |||||
| """ | """ | ||||
| __author__ = "Ben Kurtovic" | __author__ = "Ben Kurtovic" | ||||
| __copyright__ = "Copyright (C) 2012-2022 Ben Kurtovic" | |||||
| __copyright__ = "Copyright (C) 2012-2023 Ben Kurtovic" | |||||
| __license__ = "MIT License" | __license__ = "MIT License" | ||||
| __version__ = "0.6.5" | |||||
| __version__ = "0.7.dev0" | |||||
| __email__ = "ben.kurtovic@gmail.com" | __email__ = "ben.kurtovic@gmail.com" | ||||
| from . import definitions, nodes, parser, smart_list, string_mixin, utils, wikicode | from . import definitions, nodes, parser, smart_list, string_mixin, utils, wikicode | ||||