diff --git a/README.rst b/README.rst index 37bae807..94e384dc 100644 --- a/README.rst +++ b/README.rst @@ -7,7 +7,7 @@ py-caption to read content into a CaptionSet object, and then use one of the Writers to output the CaptionSet into captions of your desired format. -Tested with Python versions 3.6, 3.7, 3.8, 3.9 and 3.10. +Tested with Python versions 3.6, 3.7, 3.8, 3.9, 3.10 and 3.11. (for Python 2 use pycaption < 1.0.0) For details, see the `documentation `__. diff --git a/docs/changelog.rst b/docs/changelog.rst index 01541dff..50f4ccc1 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,5 +1,12 @@ Changelog --------- +2.2.0 +^^^^^ +- Added support for Python 3.11 +- Added support for Beautifulsoup 4.12.2 +- Remove support for Beautifulsoup < 4.12.1 +- DFXP captions now end consistently with a newline + 2.1.1 ^^^^^ - Added nltk as transcript dependency diff --git a/docs/conf.py b/docs/conf.py index c9acbb9d..67f20d68 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -53,9 +53,9 @@ # built documents. # # The short X.Y version. -version = '2.1.1' +version = '2.2.0' # The full version, including alpha/beta/rc tags. -release = '2.1.1' +release = '2.2.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index dc671301..d5ed3928 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( name='pycaption', - version='2.1.1', + version='2.2.0', description='Closed caption converter', long_description=open(README_PATH).read(), author='Joe Norton', diff --git a/test_requirements.txt b/test_requirements.txt index 3c450b59..8ef1ace3 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1,6 +1,6 @@ pytest pytest-cov pytest-lazy-fixture -beautifulsoup4>=4.8.1 +beautifulsoup4>=4.12.1 lxml>=4.9.1 cssutils>=2.0.0 \ No newline at end of file diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 24f051dd..00000000 --- a/tox.ini +++ /dev/null @@ -1,15 +0,0 @@ -[tox] -requires = tox-pyenv -envlist = py37, py38, py39, py310 - -[testenv] -deps= - pytest - pytest-cov - pytest-lazy-fixture - beautifulsoup4>=4.8.1 - lxml>=4.9.1 - cssutils>=2.0.0 - -commands= - pytest -vvvv --color=yes --junit-xml=junit.xml --cov=pycaption --cov-report xml:coverage.xml