Skip to content
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

Set up jupyter releaser #1577

Merged
merged 24 commits into from
May 18, 2022
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ebdba40
Adds the setup.cfg file and cleans the setup.py file accordingly
May 9, 2022
0249a08
Add check-release workflow and init tbump
May 9, 2022
d8724da
Move changelog from rst in documentation soures to markdown at root d…
May 9, 2022
27d75a6
update check-release workflow
May 9, 2022
029e3c1
Uses setup.cfg for tests install and removes dev-requirement.txt file
May 9, 2022
316d4c2
Fix docs installation in tasks.py
May 9, 2022
27003f8
update documentation about development installation
May 9, 2022
fd85cbb
Add pyproject.toml file
May 9, 2022
68c2f3d
reset package version to 0.7.0
May 9, 2022
a56428c
reset package version to 0.7.0 in pyproject.toml file too
May 9, 2022
f7d1e09
Fix tbump configuration
May 9, 2022
5eaeaa6
Adds insert marker for changelog
May 9, 2022
84d192c
Fix broken links in javascript components
May 10, 2022
30fb365
Add missing image in preprocessor test
May 10, 2022
8858ca0
Add nbextensions script to tbump files
May 10, 2022
3e417cb
Include files in package using MANIFEST.in file
May 10, 2022
e061b61
Fix some remaining broken links
May 10, 2022
629d606
update MANIFEST.in file
May 10, 2022
a5c48ef
Include fail-fast=false in github workflow to check-release
May 10, 2022
35ed7aa
(1) switch to 0.8.0.dev version, (2) remove duplicate information in …
May 12, 2022
8cac4b0
Modify CHANGELOG.md and _version.py files accordingly to jupyter_rele…
May 12, 2022
feff903
Increase timeout for windows/nbextension tests
May 12, 2022
8c6aa78
Clean classifiers, change artifact name and update documentation
May 16, 2022
2f72658
Documentation typo
May 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Check Release
on:
push:
branches: ["master"]
pull_request:
branches: ["*"]

jobs:
check_release:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
group: [check_release, link_check]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install Dependencies
run: |
pip install -e .
- name: Check Release
if: ${{ matrix.group == 'check_release' }}
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Link Check
if: ${{ matrix.group == 'link_check' }}
uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1
- name: Upload Distributions
uses: actions/upload-artifact@v2
with:
name: nbgrader-jupyter-releaser-dist-${{ github.run_number }}
path: .jupyter_releaser_checkout/dist
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defaults:
jobs:
test_nbgrader:
runs-on: ${{ matrix.os }}
timeout-minutes: 20
timeout-minutes: 25

env:
# NOTE: UTF-8 content may be interpreted as ascii and causes errors
Expand Down
1,024 changes: 1,024 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
include *.md
include *.json
include *.txt

include .coveragerc
include .bowerrc
include mypy.ini
include pytest.ini
include codecov.yml
include readthedocs.yaml
include tasks.py

#nbgrader format files
include nbgrader/nbgraderformat/*.json

# nbextension files
recursive-include nbgrader/nbextensions *

# doc files
recursive-include nbgrader/docs *
prune nbgrader/docs/build

# static files and templates
recursive-include nbgrader/server_extensions/formgrader/static *
recursive-include nbgrader/server_extensions/formgrader/templates *

# alembic files
include nbgrader/alembic.ini
recursive-include nbgrader/alembic *

# tests files
include nbgrader/tests/apps/files/*
include nbgrader/tests/preprocessors/files/*
include nbgrader/tests/nbextensions/files/*

# global exclusion
global-exclude *.pyc
global-exclude .ipynb_checkpoints
global-exclude __pycache__

# directories to prune
prune demos
prune tools
prune paper
14 changes: 0 additions & 14 deletions dev-requirements.txt

This file was deleted.

4 changes: 2 additions & 2 deletions nbgrader/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version_info = (0, 8, 0, 'dev')
__version__ = '.'.join(map(str, version_info))
version_info = (0, 8, 0, "dev")
__version__ = '.'.join(map(str, version_info[:3])) + (("." + version_info[3]) if version_info[3] else "")
5 changes: 5 additions & 0 deletions nbgrader/docs/source/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog
=========

```{include} ../../../CHANGELOG.md
```
Loading