* fix for runner version >=2.298.2
* fix for runner version >=2.298.2
* fix for runner version >=2.298.2
* fix for runner version >=2.298.2
* fix for runner version >=2.298.2
* fix for runner version >=2.298.2
* fix for runner version >=2.298.2
* fix for runner version >=2.298.2
* fix for runner version >=2.298.2
* fix for runner version >=2.298.2
* testing out texlive action
* installing basic packages add missing
* adding packages
* remove tipa
* remove amssymb
* remove MOAR packages
* add preview package
* add more packages
* add fontspec
* cache pip installs for doctests in rst files
* fix yaml issue
* add cache depency path
* CI: (test-arm) use python 3.8.16 and 3.11.1
* CI: upload coverage only on arm runners
* CI: use cache from actions/setup-python
previously we had our own method of caching, this simplifies...
* Update .github/workflows/ci.yml
* CI: install poetry first before setting up python
Co-authored-by: Naveen M K <naveen521kk@gmail.com>
* Add support for Python 3.11
as well drop support for Python 3.7
* update lockfile
* Fix an import statement for new version of moderngl
* CI: use pipx to install poetry
should fix macos 3.11 errors
* Update poetry.lock
try a newer version of poetry, forgot to update in a long time
* update lock file
* update poetry.lock
* try downgrading pycairo
* CI: fix poetry picking up wrong python version
* CI: change poetry cache key
older wrong environments will not be used then
* re-introduce caret restriction for pycairo
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update python-opengl -> python3-opengl
https://packages.ubuntu.com/jammy/python3-opengl
The ubuntu CI flows had been failing because the python2 version does not exist past focal (20.04 LTS)
* Pin to ubuntu 22.04
* ignore *opengl* glob for module doctests again
* removed custom pytest_report_header, fixes testing submodules (????)
* restore previous version of conftest, with segfault fix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* handle situation of non-available readline
* Update conftest.py
Co-authored-by: Naveen M K <naveen521kk@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Naveen M K <naveen521kk@gmail.com>
* run tests without xdist
* specifically run tests/opengl tests
* fix version of moderngl-window to <=2.4.1
* Revert "run tests without xdist"
This reverts commit 5d0d3e0264.
* Print info about OpenGL drivers
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Revert "Revert "run tests without xdist""
This reverts commit b6d2510c52.
* test
* test
* test
* test
* Revert "Revert "Revert "run tests without xdist"""
This reverts commit 3a15beeea2.
* Revert "specifically run tests/opengl tests"
This reverts commit a19809c349.
* test-arm: prefer currently active python
* Revert "fix version of moderngl-window to <=2.4.1"
This reverts commit ef9430712c.
* regenerate lockfile
* run module doctests with -v
* fixed config-leaking doctests
* ensure that correct pytest is run
* try to investigate segfault closer
* fixed pre-commit issue
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* pytest apparently does not run testsetup/testcleanup blocks, revert
* duplicate config import
* remove debug output from pipeline
* fixed doctests
Co-authored-by: Naveen M K <naveen521kk@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* removed suggestion template
* added FAQ answer regarding proposing new features
* added link to project board in contributing.rst
Co-authored-by: Tristan Schulz <mrdiverlp@gmail.com>
* CI: add a workflow to publish docker image after release
* add on push event
* fixup
* add amd64 build process
* lint
* final version
* fixup
* don't remove `v` and add it back
* reword a name
* Build and push latest tags when pushed to main
* move tutorials -> tutorials_guide
* change title in tutorials_guides
* rename: a_deeper_look -> output_and_config
* splitting Tutorials
* reorder index (sidebar), move some top level sections elsewhere
* rename some tutorials
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* replace recommonmark with rest for rendering md files
* fixed broken references
* fixed **all** warnings and errors during docbuild
* faq: help, more structure for landing page
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix deprecation tests
* prepare some sort of skeleton for installation faq
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* ensure that pip from poetry venv is used in pipeline
* added myst-parser as dev dependency
* remove fixed sphinx version from requirement.txt, don't re-install dependencies
* move and improve versions and troubleshooting content to FAQ
* resolve broken references
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* help blacken-docs
* new: navigating the docs
* make different versions question more prominent
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed order of tutorials
* added explicit references to building blocks and quickstart tutorial
* docs -> doc
* change a page-reference to a paragraph-reference
* pypi manimlib, split answer regarding chocolatey failing
* added a note on #beginner-resources
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Remove WebGL renderer
Fixes https://github.com/ManimCommunity/manim/issues/2629
* Remove occurence of webgl_renderer in CI config
* Fix Dockerfile
* Remove reference to webgl renderer in config docs
* Update poetry lock file
* Remove some scripts related to webgl
* Don't use rich 12.0 version
* Ignore rich 12.0.0
* Fix dependency, it was wrong previously
* try self-hosted runners
* skip test_force_window_opengl_render_with_format on linux arm
* remove debug stuff
* pre-commit
Co-authored-by: Naveen M K <naveen521kk@gmail.com>
Now `windows-latest` defaults to `windows-2022` and it has a breaking change related to MSYS2 where there are no pre-installed packages.
This would mean we don't need to manually remove `python.exe` installed through it.
See https://github.com/actions/virtual-environments/issues/4856
* Update python dependency
* Update python version in the docs
* add python 3.10 to workflow
* use quotes for python version
* small mistake
* added cleo dependency
* added tomlkit
* using new installer for poetry
* updated path
* Update ci.yml
* changed path update
* added poetry to path, EVERYWHERE
* using pip now
* adding to path...again
* adding to path everywhere again
* fixed path, fingers crossed
* path only for macos
* bashrc?
* test path
* githbu path?
* github path, this time?
* updated grpcio; substituted * notation
* pre-commit update
* updated psutil
* importlib-metadata only for Python 3.7
Co-authored-by: Naveen M K <naveen521kk@gmail.com>
* remove pygments doubling
* added psutil-wheels
* removed psutil
* Update pyproject.toml
Co-authored-by: Marcin Serwin <marcin.serwin0@protonmail.com>
* ran poetry update
* Update pyproject.toml
Co-authored-by: Marcin Serwin <marcin.serwin0@protonmail.com>
* poetry upadated
* updated mypy version
Co-authored-by: Christopher Besch <christopher.besch@gmx.de>
Co-authored-by: Naveen M K <naveen521kk@gmail.com>
Co-authored-by: Marcin Serwin <marcin.serwin0@protonmail.com>
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.26.0](https://github.com/asottile/pyupgrade/compare/v2.25.0...v2.26.0)
* trying to fix missing mathrsfs.sty for macos pipeline
* install same set of tex packages for macos as for windows
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
There is an environment variable in glcontext which can be used for the
locating the `opengl32.dll`. Use that instead of dynamically loading the
DLL which is error prone.
* Added bugfix and documentation templates
Renamed hackathon and default templates
Try fewer frontmatters
Revert name of default template
Revert name of default template
Added bugfix and documentation templates
Try fewer frontmatters
Revert name of default template
* Removed frontmatters
* Fix typos
* Comment out cache steps to test for timings
* Revert "Comment out cache steps to test for timings"
This reverts commit 34d765bc06.
* Change pip cache to poetry cache
* Add steps for brew update and getting cache dir
* Add step to cache brew
* Cache only ffmpeg to remain under 5GB limit
* No need to get brew cache dir separately
* Add uniqueness to each brew cache version
* Move poetry caching above OS installations
* Trigger cache hit
* Update brew cache path
* Try caching installed packages in Cellar
* Trigger cache hit
* Update brew cache path
* Set conditional for macOS depedency install
* Separate brew and tlmgr dependencies
* Move necessary commands to tlmgr step
* Move basictex upgrade and installation outside of dependent install
* Upgrade all brew packages
* Update cache date variable to include day
This enables the cache to reset once a day and install any new updates
* Try caching brew downloads now
* Upgrade only basictex now
* Upgrade only basictex now
* Rename step names
* Attempt caching of all usr/ files
* Increment brew cache key test number
* Setup cache date to weekly
* Rollback to poetry-cache
* Setup cache variables
* Fix typo
* Increment cache test number
* Cache brew Cellar, opt, texlive
* Trigger cache hit
* Texlive dir didn't work
* Trigger cache hit
* Link cached packages
* Only link packages not available by default
* Unlink and install cairo
* Separate commands so they can run in isolation
* Reinstall and link cairo
* Increment cache test number
* Install ffmpeg outside of brew and cache it
* Combine brew update steps
* Update curl command
* Add create-dirs flag to curl
* Add helpful messages for ffmpeg install
* Move tlmgr commands above ffmpeg
* Move ffmpeg contents to new dir after extraction
* Update ffmpeg path
* Make dir for ffmpeg
* Add parents flag to mkdir
* Add ffprobe and ffserver
* Update ffprobe download link
* Make ffmpeg files executable
* Download ffmpeg from different link and build it
* Move ffmpeg files before building
* Make dir before moving files
* Create new step for moving and updating ffmpeg files
* Move path commands to path step
* Install ffmpeg quietly
* Update brew quietly, move ffmpeg files after unzip
* Configure and make ffmpeg
* Install and cache ffmpeg via GH action
* Trigger cache hit to test ffmpeg action
* Remove ffmpeg install from Linux as action handles it
* Remove ffmpeg install from Windows as action handles it
* Trigger cache hit
* Add script for installing pango to archive
* Update pango file extension
* Add rm command to script
* Install pango via brew for now
* Test archived cache method
* Comment out cache action to use custom cache
* Revert "Comment out cache action to use custom cache"
This reverts commit 0ec6f14ee5.
* Revert "Test archived cache method"
This reverts commit 2b85b93050.
* Remove pango install script, get back to it later
* Remove ffmpeg url from windows dependency
* Update .github/workflows/ci.yml
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* Update poetry cache key
* Add comment description for brew cache
* Openssl and readline provided by macOS by default
* Update .github/workflows/ci.yml
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* Update .github/workflows/ci.yml
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* Use python location for cache key to update with each python patch
* Trigger pip cache
* Check cache size of python location
An attempt to speed up wheel installations for poetry and dependencies.
* Handle pip and python cache separately
* Fix typo
* Trigger python cache
* Remove Pango from Windows dependencies
It probably doesn't need it.
* Remove Pango version variable from Windows deps
* Remove pango from windows manim deps json
* Add python version to step names
* No need to cache brew for now
* Setup python cache only for linux and macos
Seems to be frozen for windows
* pkg-config comes with macOS as default
* Setup cache for poetry venv
* Trigger poetry cache
* Trigger poetry cache
* Trigger caches
* Trigger caches
* Setup macOS tinytex cache
* Curl in silent mode
* Revert "Curl in silent mode"
This reverts commit e81d1ff51a.
* Extract silently
* Extract to tinytex dir
* Cache extracted files and not compressed
* Fix path typo
* Try to get tlmgr to work
* Install tinytex and cairo separately
* Add tinytex to github path
* Trigger macOS cache hit
* Separate win and macOS dependencies
* Install each tinytex package in loop
* Increment macOS cache test number
* Fix typo
* Try to fix bash errors
* Move 'completed' message at end of run
* Update macOS cache path
* Update /home/rickyc0626 to /home/rickyc0626/manim-community
* Return PATH to normal after tinytex install
* Increment macOS cache test number
* Trigger cache hit
* Update macOS cache key to prod
* Convert JSON indentation to spaces
* Trigger cache save
* Trigger cache hit
* Update macOS tinytex link
* Trigger cache hit
* Poetry venv is created by default
* Move macos tinytex dependencies to manimdependency.json
* Update .github/manimdependency.json
Co-authored-by: Naveen M K <naveen@syrusdark.website>
* Remove ls from macOS install
* Install tinytex to then extract to cache
* Remove pip cache as poetry venv will hold dependencies
* Test poetry venv cache for pip files
* Trigger cache hit
* Remove test poetry cache key
Co-authored-by: Naveen M K <naveen@syrusdark.website>
Co-authored-by: Jason Villanueva <a@jsonvillanueva.com>
* added mixed-line-ending to .pre-commit-config.yaml
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Fixed flake8 in files outside of manim/manim
* Removed linter/formatter workflows
* Small update to pre-commit in contributing guideline
* Better English/grammar in doc
* Possible fix for macOS pipeline failure
* Revert back to --cask flag
* Remove cask command
* Remove cleanup command
* Revert "Remove cleanup command"
This reverts commit 63f59be5c9.
* Combine brew install statements
* Add --reinstall flag to tlmgr install just in case
* Fix typo
* Isolate dvisvgm.x86_64-darwin installation
* Remove dvisvgm.x86_64-darwin dependency
* Remove legacy dvisvgm package from mac install
* Remove brew update cmd and tlgmr --reinstall flag
Could improve build speed
* Bring back brew update but only upgrade basictex
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>