Skip to content

Commit 2944bc9

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 1f09a7e + 887c3d1 commit 2944bc9

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/setup-node@v4
4242
with:
4343
cache: yarn
44-
node-version: 20.x
44+
node-version: "lts/*"
4545
registry-url: https://registry.npmjs.org
4646
cache-dependency-path: labextension/yarn.lock
4747

@@ -121,7 +121,7 @@ jobs:
121121
# actions/setup-node creates an .npmrc file that references NODE_AUTH_TOKEN
122122
- uses: actions/setup-node@v4
123123
with:
124-
node-version: 18.x
124+
node-version: "lts/*"
125125
registry-url: https://registry.npmjs.org
126126

127127
- name: Download artifacts from build

.github/workflows/test.yaml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/setup-node@v4
4646
with:
4747
cache: yarn
48-
node-version: 20.x
48+
node-version: "lts/*"
4949
registry-url: https://registry.npmjs.org
5050
cache-dependency-path: labextension/yarn.lock
5151

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

7373
strategy:
7474
fail-fast: false
@@ -87,14 +87,18 @@ jobs:
8787
python-version: "3.8"
8888
pip-extras: lab
8989

90-
# FIXME: If https://github.com/jupyter/notebook/pull/7305 gets merged
91-
# and released, we can test "classic" with python 3.12 as well,
92-
# but until then we exclude it from being run as a Python 3.12
93-
# test and include it as a Python 3.11 test.
90+
# pip-extras classic (notebook v6) isn't working with python 3.12 or
91+
# later, so we exclude it here and then include it below to run with
92+
# python 3.11 instead.
9493
- os: ubuntu-22.04
9594
python-version: "3.12"
9695
pip-extras: classic
9796
include:
97+
# Compensates for an excluded test case above
98+
- os: ubuntu-22.04
99+
python-version: "3.11"
100+
pip-extras: classic
101+
98102
# this test is manually updated to reflect the lower bounds of
99103
# versions from dependencies
100104
- os: ubuntu-22.04
@@ -106,11 +110,6 @@ jobs:
106110
tornado==6.1.0
107111
traitlets==5.1.0
108112
109-
# Workaround for excluded 3.12 test mentioned in a FIXME above
110-
- os: ubuntu-22.04
111-
python-version: "3.11"
112-
pip-extras: classic
113-
114113
steps:
115114
- uses: actions/checkout@v4
116115

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

121120
- name: Update root build packages
122-
run: pip install --upgrade pip
121+
run: python -m pip install --upgrade pip
123122

124123
- name: Download built artifacts
125124
uses: actions/download-artifact@v4

jupyter_server_proxy/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# __version__ should be updated using tbump, based on configuration in
22
# pyproject.toml, according to instructions in RELEASE.md.
33
#
4-
__version__ = "4.1.1-0.dev"
4+
__version__ = "4.2.1-0.dev"

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ regex = '''
178178
message_template = "Bump to {new_version}"
179179
tag_template = "v{new_version}"
180180

181+
[[tool.tbump.file]]
182+
src = "jupyter_server_proxy/_version.py"
183+
181184
[[tool.tbump.file]]
182185
src = "pyproject.toml"
183186

0 commit comments

Comments
 (0)