Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
dylex committed Jun 26, 2024
2 parents 1f09a7e + 887c3d1 commit 2944bc9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: yarn
node-version: 20.x
node-version: "lts/*"
registry-url: https://registry.npmjs.org
cache-dependency-path: labextension/yarn.lock

Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
# actions/setup-node creates an .npmrc file that references NODE_AUTH_TOKEN
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: "lts/*"
registry-url: https://registry.npmjs.org

- name: Download artifacts from build
Expand Down
23 changes: 11 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: yarn
node-version: 20.x
node-version: "lts/*"
registry-url: https://registry.npmjs.org
cache-dependency-path: labextension/yarn.lock

Expand All @@ -68,7 +68,7 @@ jobs:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash # windows default isn't bash
shell: bash --noprofile --norc -eo pipefail {0} # windows default isn't bash

strategy:
fail-fast: false
Expand All @@ -87,14 +87,18 @@ jobs:
python-version: "3.8"
pip-extras: lab

# FIXME: If https://github.com/jupyter/notebook/pull/7305 gets merged
# and released, we can test "classic" with python 3.12 as well,
# but until then we exclude it from being run as a Python 3.12
# test and include it as a Python 3.11 test.
# pip-extras classic (notebook v6) isn't working with python 3.12 or
# later, so we exclude it here and then include it below to run with
# python 3.11 instead.
- os: ubuntu-22.04
python-version: "3.12"
pip-extras: classic
include:
# Compensates for an excluded test case above
- os: ubuntu-22.04
python-version: "3.11"
pip-extras: classic

# this test is manually updated to reflect the lower bounds of
# versions from dependencies
- os: ubuntu-22.04
Expand All @@ -106,11 +110,6 @@ jobs:
tornado==6.1.0
traitlets==5.1.0
# Workaround for excluded 3.12 test mentioned in a FIXME above
- os: ubuntu-22.04
python-version: "3.11"
pip-extras: classic

steps:
- uses: actions/checkout@v4

Expand All @@ -119,7 +118,7 @@ jobs:
python-version: "${{ matrix.python-version }}"

- name: Update root build packages
run: pip install --upgrade pip
run: python -m pip install --upgrade pip

- name: Download built artifacts
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion jupyter_server_proxy/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# __version__ should be updated using tbump, based on configuration in
# pyproject.toml, according to instructions in RELEASE.md.
#
__version__ = "4.1.1-0.dev"
__version__ = "4.2.1-0.dev"
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ regex = '''
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"

[[tool.tbump.file]]
src = "jupyter_server_proxy/_version.py"

[[tool.tbump.file]]
src = "pyproject.toml"

Expand Down

0 comments on commit 2944bc9

Please sign in to comment.