Skip to content

Commit

Permalink
Version 0.1.1 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eulertour authored Dec 2, 2020
1 parent 14bfaab commit 62f0147
Show file tree
Hide file tree
Showing 321 changed files with 8,032 additions and 5,391 deletions.
14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

59 changes: 32 additions & 27 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
---
name: Bug report
about: Create a report to help us improve
title: " [BUG-General] "
name: Manim bug
about: Report a bug or unexpected behavior when running Manim
title: ""
labels: bug
assignees: ''

---

**Describe the bug**
<!-- A clear and concise description of what the bug is. -->
## Description of bug / unexpected behavior
<!-- Add a clear and concise description of the problem you encountered. -->

**To Reproduce**
<!-- Provide the problematic code in the code block below -->
<details><summary>Problematic Code</summary>

## Expected behavior
<!-- Add a clear and concise description of what you expected to happen. -->


## How to reproduce the issue
<!-- Provide a piece of code illustrating the undesired behavior. -->

<details><summary>Code for reproducing the problem</summary>

```py
Paste your code here.
```

</details>

**Expected behavior**
<!-- A clear and concise description of what you expected to happen. -->

**Output Media Files**
## Additional media files
<!-- Paste in the files manim produced on rendering the code above. Note that GitHub doesn't allow posting videos, so you may need to convert it to a GIF or use the `-i` rendering option. -->

<details><summary>Images/GIFs</summary>
Expand All @@ -32,47 +36,48 @@ Paste your code here.

</details>

**Logs**
<details><summary>Terminal output (Screenshots acceptable)</summary>

## Logs
<details><summary>Terminal output</summary>
<!-- Add "-v DEBUG" when calling manim to generate more detailed logs -->

```
PASTE HERE OR REMOVE IF PROVIDING SCREENSHOT
PASTE HERE OR PROVIDE LINK TO https://pastebin.com/ OR SIMILAR
```

<!-- Paste screenshot here -->
<!-- Insert screenshots here (only when absolutely necessary, we prefer copy/pasted output!) -->

</details>

**System Specifications**

## System specifications

<details><summary>System Details</summary>

- OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)):
- RAM:
- OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)):
- RAM:
- Python version (`python/py/python3 --version`):
- Installed modules (provide output from `pip list`):
```
PASTE HERE
```

</details>

<details>
<summary>Latex details</summary>
<details><summary>LaTeX details</summary>

+ Distribution (e.g. TeX Live 2020):

<!-- output of `tlmgr list --only-installed` for TeX Live or a screenshot of the Packkages page for MikTeX -->
+ Installed packages:
+ LaTeX distribution (e.g. TeX Live 2020):
+ Installed LaTeX packages:
<!-- output of `tlmgr list --only-installed` for TeX Live or a screenshot of the Packages page for MikTeX -->
</details>

<details><summary>FFMPEG</summary>

Output of `ffmpeg -version`:

```
PASTE HERE
```
</details>

**Additional context**
Add any other context about the problem here.
## Additional comments
<!-- Add further context that you think might be relevant for this issue here. -->
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Request a new feature for Manim
title: ""
labels: new feature
assignees: ''

---

## Description of proposed feature
<!-- Add a clear and concise description of the new feature, including a motivation: why do you think this will be useful? -->


## How can the new feature be used?
<!-- If possible, illustrate how this new feature could be used. -->


## Additional comments
<!-- Add further context that you think might be relevant. -->
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/installation_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
name: Installation issue
about: Report issues with the installation process of Manim
title: ""
labels: bug, installation
assignees: ''

---

#### Preliminaries

- [ ] I have followed the latest version of the
[installation instructions](https://docs.manim.community/en/latest/installation.html).
- [ ] I have checked the [troubleshooting page](https://docs.manim.community/en/latest/installation/troubleshooting.html) and my problem is either not mentioned there,
or the solution given there does not help.

## Description of error
<!-- Add a clear and concise description of the problem you encountered. -->


## Installation logs
<!-- Please paste the **full** terminal output; we can only help to identify the issue
when we receive all required information. -->

<details><summary>Terminal output</summary>

```
PASTE HERE OR PROVIDE LINK TO https://pastebin.com/ OR SIMILAR
```

<!-- Insert screenshots here (only when absolutely necessary, we prefer copy/pasted output!) -->

</details>


## System specifications

<details><summary>System Details</summary>

- OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)):
- RAM:
- Python version (`python/py/python3 --version`):
- Installed modules (provide output from `pip list`):
```
PASTE HERE
```
</details>

<details><summary>LaTeX details</summary>

+ LaTeX distribution (e.g. TeX Live 2020):
+ Installed LaTeX packages:
<!-- output of `tlmgr list --only-installed` for TeX Live or a screenshot of the Packages page for MikTeX -->
</details>

<details><summary>FFMPEG</summary>

Output of `ffmpeg -version`:

```
PASTE HERE
```
</details>

## Additional comments
<!-- Add further context that you think might be relevant for this issue here. -->
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/suggestion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Suggestion
about: Make a suggestion for the enhancement of existing features
title: ""
labels: enhancement
assignees: ''

---

## Enhancement proposal
<!-- Add a clear and concise description of your enhancement proposal. In particular,
if your enhancement introduces changes to the API, illustrate them with
(fictional) code examples. -->


## Additional comments
<!-- Add further context that you think might be relevant. -->
2 changes: 1 addition & 1 deletion .github/manimdependency.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"windows": {
"ffmpeg": "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-4.3.1-2020-09-21-full_build.zip",
"ffmpeg": "https://github.com/GyanD/codexffmpeg/releases/download/4.3.1-2020-11-19/ffmpeg-4.3.1-2020-11-19-full_build.zip",
"pango": "v0.1.0",
"tinytex": [
"standalone",
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: [3.6, 3.7, 3.8]
python: [3.6, 3.7, 3.8, 3.9]

steps:
- name: Checkout the repository
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
sudo apt update
sudo apt install -y ffmpeg
sudo apt-get -y install texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science texlive-fonts-extra tipa
echo "::add-path::$HOME/.poetry/bin"
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install system dependencies (MacOS)
if: runner.os == 'macOS'
Expand All @@ -65,8 +65,8 @@ jobs:
brew install pango
brew install glib
sudo tlmgr install standalone preview doublestroke relsize fundus-calligra wasysym physics dvisvgm.x86_64-darwin dvisvgm rsfs wasy cm-super
echo "::add-path::$HOME/.poetry/bin"
echo "::set-env name=PATH::$PATH"
echo "/Library/TeX/texbin" >> $GITHUB_PATH
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Cache Windows
id: cache-windows
Expand Down Expand Up @@ -106,13 +106,13 @@ jobs:
run: |
$env:Path += ";" + "$($PWD)\ManimCache\FFmpeg\bin"
$env:Path += ";" + "$($PWD)\ManimCache\LatexWindows\TinyTeX\bin\win32"
$env:Path += ";" + "$($PWD)\ManimCache\Pango\pango"
$env:Path += ";" + "$($PWD)\ManimCache\Pango\pango"
$env:Path = "$env:USERPROFILE\.poetry\bin;$($env:PATH)"
echo "::set-env name=Path::$env:Path"
echo "$env:Path" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Install manim
run: |
poetry install
poetry install -E js_renderer
- name: Run tests
run: poetry run pytest
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/dependent-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Dependent Issues

on:
issues:
schedule:
- cron: '0/30 * * * *' # schedule daily check

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: z0al/dependent-issues@v1
env:
# (Required) The token to use to make API calls to GitHub.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# (Optional) The label to use to mark dependent issues
label: dependent

# (Optional) Enable checking for dependencies in issues. Enable by
# setting the value to "on". Default "off"
check_issues: on

# (Optional) A comma-separated list of keywords. Default
# "depends on, blocked by"
keywords: depends on, blocked by
23 changes: 23 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,26 @@ jobs:

- name: Publish release to pypi
run: poetry publish --build

- name: Get Upload URL
id: create_release
shell: bash
env:
access_token: ${{ secrets.GITHUB_TOKEN }}
tag_act: ${{ github.ref }}
run: |
ref_tag=$(python -c "print('${tag_act}'.split('/')[-1])")
res=$(curl -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${access_token}" https://api.github.com/repos/ManimCommunity/manim/releases/tags/${ref_tag})
upload_url=$(python -c "import json;print(json.loads('''${res}''')['upload_url'])")
echo "::set-output name=upload_url::${upload_url}"
- name: Upload Release Asset
id: upload-release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: dist/*.tar.gz
asset_name: manimce-${{ steps.tag.outputs.tag }}.tar.gz
asset_content_type: application/gzip
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ docs/_build/
docs/build/
docs/source/_autosummary/
docs/source/reference/
docs/source/_build/

# PyBuilder
target/
Expand Down
Loading

0 comments on commit 62f0147

Please sign in to comment.