Skip to content

Commit 5442918

Browse files
authored
Make released artifacts smaller (QuantStack#106)
1 parent 2ad777a commit 5442918

File tree

98 files changed

+2308
-1138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+2308
-1138
lines changed

.binder/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ dependencies:
5454

5555
- docutils >=0.18.1
5656
- jupyter-server-mathjax
57+
- jupyterlab-myst
5758
- myst-nb
5859
- pkginfo
5960
- pydata-sphinx-theme >=0.10.1,<0.11.0
@@ -100,7 +101,6 @@ dependencies:
100101
# unit testing
101102
- pytest
102103
- pytest-console-scripts
103-
- pytest-cov
104104
- pytest-html
105105
- pytest-tornasync
106106
- pytest-xdist

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
3838
- Operating System and version:
3939
- Browser and version:
4040
- JupyterLab version:
41-
- ipydrawio version(s):
41+
- `ipydrawio-*` version(s):
4242

4343
<details><summary>Required: installed server extensions</summary>
4444
<pre>
@@ -74,10 +74,26 @@ https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
7474
<pre>
7575
Paste the output from your browser JavaScript console replacing the text in here.
7676

77-
To learn how to open the developer tools in your browser:
78-
https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools#How_to_open_the_devtools_in_your_browser
79-
If too many messages accumulated after many hours of working in JupyterLab,
80-
consider refreshing the window and then reproducing the bug to reduce the noise in the logs.
77+
To learn how to open the developer tools in your browser:
78+
https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools#How_to_open_the_devtools_in_your_browser
79+
If too many messages accumulated after many hours of working in JupyterLab, consider
80+
refreshing the window and then reproducing the bug to reduce the noise in the logs.
8181

8282
</pre>
8383
</details>
84+
85+
<!--
86+
# Copyright 2022 ipydrawio contributors
87+
#
88+
# Licensed under the Apache License, Version 2.0 (the "License");
89+
# you may not use this file except in compliance with the License.
90+
# You may obtain a copy of the License at
91+
#
92+
# http://www.apache.org/licenses/LICENSE-2.0
93+
#
94+
# Unless required by applicable law or agreed to in writing, software
95+
# distributed under the License is distributed on an "AS IS" BASIS,
96+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
97+
# See the License for the specific language governing permissions and
98+
# limitations under the License.
99+
-->

.github/ISSUE_TEMPLATE/docs.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,19 @@ https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
2222
## How the project might keep the docs accurate...
2323

2424
<!--Describe how this documentation can be kept up-to-date: testing, link checking, etc. -->
25+
26+
<!--
27+
# Copyright 2022 ipydrawio contributors
28+
#
29+
# Licensed under the Apache License, Version 2.0 (the "License");
30+
# you may not use this file except in compliance with the License.
31+
# You may obtain a copy of the License at
32+
#
33+
# http://www.apache.org/licenses/LICENSE-2.0
34+
#
35+
# Unless required by applicable law or agreed to in writing, software
36+
# distributed under the License is distributed on an "AS IS" BASIS,
37+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38+
# See the License for the specific language governing permissions and
39+
# limitations under the License.
40+
-->

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,21 @@ https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
2222
## Design Ideas
2323

2424
<!-- Share any kind of design ideas (e.g. ASCII art, links, screenshots) that might help us understand -->
25+
26+
<!--
27+
# Copyright 2022 ipydrawio contributors
28+
#
29+
# Licensed under the Apache License, Version 2.0 (the "License");
30+
# you may not use this file except in compliance with the License.
31+
# You may obtain a copy of the License at
32+
#
33+
# http://www.apache.org/licenses/LICENSE-2.0
34+
#
35+
# Unless required by applicable law or agreed to in writing, software
36+
# distributed under the License is distributed on an "AS IS" BASIS,
37+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38+
# See the License for the specific language governing permissions and
39+
# limitations under the License.
40+
-->
41+
42+
s

.github/ISSUE_TEMPLATE/release.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
name: Release
3+
about: Prepare for a release
4+
labels: maintenance
5+
---
6+
7+
- [ ] merge all outstanding PRs
8+
- [ ] ensure the versions have been bumped (check with `doit test:integrity`)
9+
- [ ] ensure the CHANGELOG is up-to-date
10+
- [ ] move the new release to the top of the stack
11+
- [ ] validate on binder
12+
- [ ] validate on ReadTheDocs
13+
- [ ] wait for a successful build of `master`
14+
- [ ] download the `dist` archive and unpack somewhere (maybe a fresh `dist`)
15+
- [ ] create a new release through the GitHub UI
16+
- [ ] paste in the relevant CHANGELOG entries
17+
- [ ] upload the artifacts
18+
- [ ] actually upload to npm.com, pypi.org
19+
```bash
20+
cd dist
21+
twine upload *.tar.gz *.whl
22+
npm login
23+
npm publish deathbeds-*-$VERSION.tgz
24+
npm logout
25+
```
26+
- [ ] postmortem
27+
- [ ] handle `conda-forge` feedstock tasks
28+
- [ ] validate on binder via simplest-possible gists
29+
- [ ] bump to next development version
30+
- [ ] bump the `CACHE_EPOCH`
31+
- [ ] rebuild `yarn.lock`
32+
- [ ] update release procedures with lessons learned
33+
34+
<!--
35+
# Copyright 2022 ipydrawio contributors
36+
#
37+
# Licensed under the Apache License, Version 2.0 (the "License");
38+
# you may not use this file except in compliance with the License.
39+
# You may obtain a copy of the License at
40+
#
41+
# http://www.apache.org/licenses/LICENSE-2.0
42+
#
43+
# Unless required by applicable law or agreed to in writing, software
44+
# distributed under the License is distributed on an "AS IS" BASIS,
45+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
46+
# See the License for the specific language governing permissions and
47+
# limitations under the License.
48+
-->

.github/environment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ dependencies:
5151
# unit testing
5252
- pytest
5353
- pytest-console-scripts
54-
- pytest-cov
5554
- pytest-html
5655
- pytest-tornasync
5756
- pytest-xdist

0 commit comments

Comments
 (0)