From ee935f69dd96f9af2d868ea8b70e621ab0180525 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 5 Sep 2023 01:27:39 -0400 Subject: [PATCH] Version bump and fix docs build --- .readthedocs.yaml | 8 ++++++++ CHANGELOG | 4 ++++ appveyor.yml | 2 +- docs/changelog.rst | 8 ++++++++ scripts/release.sh | 16 +++------------- src/mwparserfromhell/__init__.py | 6 +++--- 6 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..da40667 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,8 @@ +version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +sphinx: + configuration: docs/conf.py diff --git a/CHANGELOG b/CHANGELOG index 564266e..08abedc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +v0.7 (unreleased): + +- ... + v0.6.5 (released September 5, 2023): - Dropped support for end-of-life Python 3.6. diff --git a/appveyor.yml b/appveyor.yml index b4722dc..8444753 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ # 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: only: diff --git a/docs/changelog.rst b/docs/changelog.rst index b4ab213..4991af4 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,14 @@ Changelog ========= +v0.7 +---- + +Unreleased +(`changes `__): + +- ... + v0.6.5 ------ diff --git a/scripts/release.sh b/scripts/release.sh index acb1194..02c0673 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -74,7 +74,7 @@ do_git_stuff() { upload_to_pypi() { echo -n "PyPI: uploading source tarball..." python setup.py -q sdist - twine upload -s dist/mwparserfromhell-$VERSION* + twine upload dist/mwparserfromhell-$VERSION* echo " done." } @@ -115,21 +115,11 @@ test_release() { echo " done." fi 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.asc" -o "mwparserfromhell.tar.gz.asc" 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 - rm mwparserfromhell.tar.gz mwparserfromhell.tar.gz.asc + rm mwparserfromhell.tar.gz cd mwparserfromhell-$VERSION echo "Running unit tests..." python setup.py -q install diff --git a/src/mwparserfromhell/__init__.py b/src/mwparserfromhell/__init__.py index 13c786c..06d0a7d 100644 --- a/src/mwparserfromhell/__init__.py +++ b/src/mwparserfromhell/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2012-2022 Ben Kurtovic +# Copyright (C) 2012-2023 Ben Kurtovic # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -25,9 +25,9 @@ outrageously powerful parser for `MediaWiki `_ wikico """ __author__ = "Ben Kurtovic" -__copyright__ = "Copyright (C) 2012-2022 Ben Kurtovic" +__copyright__ = "Copyright (C) 2012-2023 Ben Kurtovic" __license__ = "MIT License" -__version__ = "0.6.5" +__version__ = "0.7.dev0" __email__ = "ben.kurtovic@gmail.com" from . import definitions, nodes, parser, smart_list, string_mixin, utils, wikicode