-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Use Jupyter Releaser #6048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Use Jupyter Releaser #6048
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
8e6c8d9
Use Jupyter Releaser
afshin 6113bee
Automated Changelog Entry for 6.4.0a0 on notebook-releaser
github-actions[bot] 858eb34
Merge pull request #1 from afshin/changelog-0d890072ac0311eba4e9b3c98…
afshin 33da613
Publish 6.4.0a0
github-actions[bot] 49120e1
Bump to 6.5.0.dev0
github-actions[bot] 2fd1088
Remove jupyter_packaging as a runtime requirement
afshin dd1343b
Automated Changelog Entry for 6.4.0a1 on notebook-releaser
github-actions[bot] 93cc0db
Merge pull request #5 from afshin/changelog-e65e80f4ad8c11ebb0b3ed61d…
blink1073 baa4898
Publish 6.4.0a1
github-actions[bot] 892fe2d
Bump to 6.5.0.dev0
github-actions[bot] c160ee9
Update notebook/_version.py
blink1073 f93b581
Update pyproject.toml
blink1073 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Check Release | ||
on: | ||
push: | ||
branches: ["master"] | ||
pull_request: | ||
branches: ["*"] | ||
|
||
permissions: | ||
contents: | ||
write | ||
|
||
jobs: | ||
check_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
architecture: "x64" | ||
- name: Install node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
- name: Get pip cache dir | ||
id: pip-cache | ||
run: | | ||
echo "::set-output name=dir::$(pip cache dir)" | ||
- name: Cache pip | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ steps.pip-cache.outputs.dir }} | ||
key: ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
${{ runner.os }}-pip- | ||
- name: Cache checked links | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pytest-link-check | ||
key: ${{ runner.os }}-linkcheck-${{ hashFiles('**/.md') }}-md-links | ||
restore-keys: | | ||
${{ runner.os }}-linkcheck- | ||
- name: Upgrade packaging dependencies | ||
run: | | ||
pip install --upgrade pip setuptools wheel --user | ||
- name: Install Dependencies | ||
run: | | ||
pip install -e . | ||
- name: Check Release | ||
env: | ||
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }} | ||
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,3 +54,5 @@ geckodriver.log | |
|
||
# copied changelog | ||
docs/source/changelog.md | ||
|
||
.jupyter_releaser_checkout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Notebook Examples | ||
|
||
The pages in this section are all converted notebook files. You can also | ||
[view these notebooks on nbviewer](http://nbviewer.jupyter.org/github/jupyter/notebook/blob/master/) | ||
[view these notebooks on nbviewer](http://nbviewer.jupyter.org/github/jupyter/notebook/tree/master/) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[build-system] | ||
requires=["jupyter_packaging~=0.9,<2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.check-manifest] | ||
ignore = ["docs-translations/**", ".*", "*.yml", "*.less", "git-hooks/**", "MANIFEST.in", "RELEASE.md", "jupyter.svg", "notebook/static/**", "notebook/i18n/**/*.json", "docs/source/*.*"] | ||
ignore-bad-ideas = ["notebook/i18n/**/*.mo"] | ||
|
||
[tool.jupyter-releaser.hooks] | ||
after-bump-version = "python setup.py jsversion" | ||
before-build-python = ["pip install babel", "npm install -g po2json"] | ||
|
||
[tool.jupyter-releaser.options] | ||
ignore-glob = ["docs/source/examples/Notebook/Working With Markdown Cells.ipynb", "docs-translations/**/README.md", "docs/source/contributing.rst", "docs/source/examples/Notebook/JavaScript Notebook Extensions.ipynb", "CHANGELOG.md"] | ||
|
||
[tool.tbump.version] | ||
current = "6.4.0a1" | ||
regex = ''' | ||
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) | ||
((?P<channel>a|b|rc|.dev)(?P<release>\d+))? | ||
''' | ||
|
||
[tool.tbump.git] | ||
message_template = "Bump to {new_version}" | ||
tag_template = "v{new_version}" | ||
|
||
[[tool.tbump.file]] | ||
src = "notebook/_version.py" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.