Parcourir la source

Version bump and fix docs build

tags/v0.6.6
Ben Kurtovic il y a 1 an
Parent
révision
ee935f69dd
6 fichiers modifiés avec 27 ajouts et 17 suppressions
  1. +8
    -0
      .readthedocs.yaml
  2. +4
    -0
      CHANGELOG
  3. +1
    -1
      appveyor.yml
  4. +8
    -0
      docs/changelog.rst
  5. +3
    -13
      scripts/release.sh
  6. +3
    -3
      src/mwparserfromhell/__init__.py

+ 8
- 0
.readthedocs.yaml Voir le fichier

@@ -0,0 +1,8 @@
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"

sphinx:
configuration: docs/conf.py

+ 4
- 0
CHANGELOG Voir le fichier

@@ -1,3 +1,7 @@
v0.7 (unreleased):

- ...

v0.6.5 (released September 5, 2023):

- Dropped support for end-of-life Python 3.6.


+ 1
- 1
appveyor.yml Voir le fichier

@@ -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:


+ 8
- 0
docs/changelog.rst Voir le fichier

@@ -1,6 +1,14 @@
Changelog
=========

v0.7
----

Unreleased
(`changes <https://github.com/earwig/mwparserfromhell/compare/v0.6.5...main>`__):

- ...

v0.6.5
------



+ 3
- 13
scripts/release.sh Voir le fichier

@@ -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


+ 3
- 3
src/mwparserfromhell/__init__.py Voir le fichier

@@ -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
# 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"
__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


Chargement…
Annuler
Enregistrer