From 35195f89e4bf3d01245e5d0351fa137cb180701f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Wed, 1 Feb 2023 11:29:00 +0100 Subject: [PATCH] chore(version): bump 4.8.2 to 4.8.3 (#119) * chore(version): bump 4.8.2 to 4.8.3 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * chore(ci): always use apt-get update See comment https://github.com/actions/runner-images/issues/6488#issuecomment-1295789463 * chore(docs): add opengraph image and update description --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .bumpversion.cfg | 12 ++++++++++ .github/workflows/pages.yml | 4 +++- .github/workflows/test_examples.yml | 3 +++ docs/source/conf.py | 6 ++++- docs/source/index.md | 1 + manim_slides/__version__.py | 2 +- poetry.lock | 34 +++++++++++++++++++---------- pyproject.toml | 3 ++- 8 files changed, 50 insertions(+), 15 deletions(-) create mode 100644 .bumpversion.cfg diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..6bbc649 --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,12 @@ +[bumpversion] +current_version = 4.8.3 +commit = True +message = chore(version): bump {current_version} to {new_version} + +[bumpversion:file:manim_slides/__version__.py] +search = __version__ = "{current_version}" +replace = __version__ = "{new_version}" + +[bumpversion:file:pyproject.toml] +search = version = "{current_version}" +replace = version = "{new_version}" diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index ea94e3e..b7ec68c 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -42,7 +42,9 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v2 - name: Install Linux Dependencies - run: sudo apt install libcairo2-dev libpango1.0-dev ffmpeg freeglut3-dev + run: | + sudo apt-get update + sudo apt-get install libcairo2-dev libpango1.0-dev ffmpeg freeglut3-dev - name: Install Python dependencies run: pip install manim sphinx sphinx_click furo - name: Install local Python package diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index 38d9914..1444b38 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -74,6 +74,9 @@ jobs: - name: Install manimgl dependencies on MacOS if: matrix.os == 'macos-latest' && matrix.manim == 'manimgl' run: brew install ffmpeg + - name: Run apt-get update on Ubuntu + if: matrix.os == 'ubuntu-latest' + run: sudo apt-get update - name: Install manim dependencies on Ubuntu if: matrix.os == 'ubuntu-latest' && matrix.manim == 'manim' run: | diff --git a/docs/source/conf.py b/docs/source/conf.py index a0de36c..2bfafd9 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -52,10 +52,14 @@ html_theme_options = { "source_directory": "docs/source/", } -## -- Intersphinx mapping +# -- Intersphinx mapping intersphinx_mapping = { "python": ("https://docs.python.org/3", None), "manim": ("https://docs.manim.community/en/stable/", None), "manimlib": ("https://3b1b.github.io/manim/", None), } + +# -- OpenGraph settings + +ogp_use_first_image = True diff --git a/docs/source/index.md b/docs/source/index.md index e044a29..44dd204 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -1,5 +1,6 @@ --- hide-toc: true +og:description: Manim Slides makes creating slides with Manim super easy! --- ```{eval-rst} diff --git a/manim_slides/__version__.py b/manim_slides/__version__.py index 8e288a5..af82c57 100644 --- a/manim_slides/__version__.py +++ b/manim_slides/__version__.py @@ -1 +1 @@ -__version__ = "4.8.2" +__version__ = "4.8.3" diff --git a/poetry.lock b/poetry.lock index 4ec08ac..5656636 100644 --- a/poetry.lock +++ b/poetry.lock @@ -49,7 +49,7 @@ python-versions = "*" [[package]] name = "beautifulsoup4" -version = "4.11.1" +version = "4.11.2" description = "Screen-scraping library" category = "dev" optional = false @@ -84,6 +84,14 @@ d = ["aiohttp (>=3.7.4)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] uvloop = ["uvloop (>=0.15.2)"] +[[package]] +name = "bump2version" +version = "1.0.1" +description = "Version-bump your software with a single command!" +category = "dev" +optional = false +python-versions = ">=3.5" + [[package]] name = "certifi" version = "2022.12.7" @@ -914,7 +922,7 @@ python-versions = "*" [[package]] name = "pyglet" -version = "2.0.3" +version = "2.0.4" description = "Cross-platform windowing and multimedia library" category = "dev" optional = false @@ -1288,11 +1296,11 @@ test = ["pytest"] [[package]] name = "sphinxcontrib-htmlhelp" -version = "2.0.0" +version = "2.0.1" description = "sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" [package.extras] lint = ["docutils-stubs", "flake8", "mypy"] @@ -1510,7 +1518,7 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools" [metadata] lock-version = "1.1" python-versions = ">=3.8.1,<3.12" -content-hash = "0f342939336f7eac6af6ebf0ac4bc9922777f12b0b4c7718f869dad73860c64d" +content-hash = "bdb5051fe47d219725818bf713871ef8987f77f068c2edeca7a58526422a3044" [metadata.files] alabaster = [ @@ -1534,8 +1542,8 @@ backcall = [ {file = "backcall-0.2.0.tar.gz", hash = "sha256:5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e"}, ] beautifulsoup4 = [ - {file = "beautifulsoup4-4.11.1-py3-none-any.whl", hash = "sha256:58d5c3d29f5a36ffeb94f02f0d786cd53014cf9b3b3951d42e0080d8a9498d30"}, - {file = "beautifulsoup4-4.11.1.tar.gz", hash = "sha256:ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693"}, + {file = "beautifulsoup4-4.11.2-py3-none-any.whl", hash = "sha256:0e79446b10b3ecb499c1556f7e228a53e64a2bfcebd455f370d8927cb5b59e39"}, + {file = "beautifulsoup4-4.11.2.tar.gz", hash = "sha256:bc4bdda6717de5a2987436fb8d72f45dc90dd856bdfd512a1314ce90349a0106"}, ] black = [ {file = "black-22.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9eedd20838bd5d75b80c9f5487dbcb06836a43833a37846cf1d8c1cc01cef59d"}, @@ -1551,6 +1559,10 @@ black = [ {file = "black-22.12.0-py3-none-any.whl", hash = "sha256:436cc9167dd28040ad90d3b404aec22cedf24a6e4d7de221bec2730ec0c97bcf"}, {file = "black-22.12.0.tar.gz", hash = "sha256:229351e5a18ca30f447bf724d007f890f97e13af070bb6ad4c0a441cd7596a2f"}, ] +bump2version = [ + {file = "bump2version-1.0.1-py2.py3-none-any.whl", hash = "sha256:37f927ea17cde7ae2d7baf832f8e80ce3777624554a653006c9144f8017fe410"}, + {file = "bump2version-1.0.1.tar.gz", hash = "sha256:762cb2bfad61f4ec8e2bdf452c7c267416f8c70dd9ecb1653fd0bbb01fa936e6"}, +] certifi = [ {file = "certifi-2022.12.7-py3-none-any.whl", hash = "sha256:4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18"}, {file = "certifi-2022.12.7.tar.gz", hash = "sha256:35824b4c3a97115964b408844d64aa14db1cc518f6562e8d7261699d1350a9e3"}, @@ -2483,8 +2495,8 @@ pydub = [ {file = "pydub-0.25.1.tar.gz", hash = "sha256:980a33ce9949cab2a569606b65674d748ecbca4f0796887fd6f46173a7b0d30f"}, ] pyglet = [ - {file = "pyglet-2.0.3-py3-none-any.whl", hash = "sha256:04fc73db0deff693dd70a71e166643c5f1251deed62262eaa1dbb7b0ac26e233"}, - {file = "pyglet-2.0.3.zip", hash = "sha256:b15073474f93c7ce30f71e4af824d3c847db099f2111ef16be0b631d2a222bd3"}, + {file = "pyglet-2.0.4-py3-none-any.whl", hash = "sha256:74a82ee184a673ef019200a5b7a528e95ea41ac32f6c227d2a333ab9ea0ff56d"}, + {file = "pyglet-2.0.4.zip", hash = "sha256:f891808c1bf65c7cc5131b0b26b047eae5cf37c7e253270964ac4b2f014774f2"}, ] pygments = [ {file = "Pygments-2.14.0-py3-none-any.whl", hash = "sha256:fa7bd7bd2771287c0de303af8bfdfc731f51bd2c6a47ab69d117138893b82717"}, @@ -2746,8 +2758,8 @@ sphinxcontrib-devhelp = [ {file = "sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl", hash = "sha256:8165223f9a335cc1af7ffe1ed31d2871f325254c0423bc0c4c7cd1c1e4734a2e"}, ] sphinxcontrib-htmlhelp = [ - {file = "sphinxcontrib-htmlhelp-2.0.0.tar.gz", hash = "sha256:f5f8bb2d0d629f398bf47d0d69c07bc13b65f75a81ad9e2f71a63d4b7a2f6db2"}, - {file = "sphinxcontrib_htmlhelp-2.0.0-py2.py3-none-any.whl", hash = "sha256:d412243dfb797ae3ec2b59eca0e52dac12e75a241bf0e4eb861e450d06c6ed07"}, + {file = "sphinxcontrib-htmlhelp-2.0.1.tar.gz", hash = "sha256:0cbdd302815330058422b98a113195c9249825d681e18f11e8b1f78a2f11efff"}, + {file = "sphinxcontrib_htmlhelp-2.0.1-py3-none-any.whl", hash = "sha256:c38cb46dccf316c79de6e5515e1770414b797162b23cd3d06e67020e1d2a6903"}, ] sphinxcontrib-jsmath = [ {file = "sphinxcontrib-jsmath-1.0.1.tar.gz", hash = "sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8"}, diff --git a/pyproject.toml b/pyproject.toml index 20a25b1..d9d6b66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ packages = [ ] readme = "README.md" repository = "https://github.com/jeertmans/manim-slides" -version = "4.8.2" +version = "4.8.3" [tool.poetry.dependencies] click = "^8.1.3" @@ -76,6 +76,7 @@ tqdm = "^4.64.1" [tool.poetry.group.dev.dependencies] black = "^22.10.0" +bump2version = "^1.0.1" isort = "^5.12.0" mypy = "^0.991" pre-commit = "^3.0.2"