head	1.20;
access;
symbols
	pkgsrc-2026Q1:1.20.0.4
	pkgsrc-2026Q1-base:1.20
	pkgsrc-2025Q4:1.20.0.2
	pkgsrc-2025Q4-base:1.20
	pkgsrc-2025Q3:1.19.0.2
	pkgsrc-2025Q3-base:1.19
	pkgsrc-2025Q2:1.16.0.2
	pkgsrc-2025Q2-base:1.16
	pkgsrc-2025Q1:1.14.0.2
	pkgsrc-2025Q1-base:1.14
	pkgsrc-2024Q4:1.13.0.2
	pkgsrc-2024Q4-base:1.13
	pkgsrc-2024Q3:1.12.0.2
	pkgsrc-2024Q3-base:1.12
	pkgsrc-2024Q2:1.11.0.4
	pkgsrc-2024Q2-base:1.11
	pkgsrc-2024Q1:1.11.0.2
	pkgsrc-2024Q1-base:1.11
	pkgsrc-2023Q4:1.7.0.2
	pkgsrc-2023Q4-base:1.7
	pkgsrc-2023Q3:1.4.0.2
	pkgsrc-2023Q3-base:1.4
	pkgsrc-2023Q2:1.1.0.2
	pkgsrc-2023Q2-base:1.1;
locks; strict;
comment	@# @;


1.20
date	2025.10.09.07.58.10;	author wiz;	state Exp;
branches;
next	1.19;
commitid	t4nMY0Dt3rBjSRdG;

1.19
date	2025.09.14.15.40.39;	author wiz;	state Exp;
branches;
next	1.18;
commitid	zEs5X5zFtI28fHaG;

1.18
date	2025.09.02.11.55.02;	author adam;	state Exp;
branches;
next	1.17;
commitid	b7H7OS7NQ3uun89G;

1.17
date	2025.07.05.11.44.13;	author wiz;	state Exp;
branches;
next	1.16;
commitid	B2KLCDAZOmgedy1G;

1.16
date	2025.06.02.11.32.48;	author prlw1;	state Exp;
branches;
next	1.15;
commitid	iT3U42uVX9W6djXF;

1.15
date	2025.05.17.07.52.09;	author adam;	state Exp;
branches;
next	1.14;
commitid	KvhaCWh59CNkveVF;

1.14
date	2025.01.27.10.49.32;	author adam;	state Exp;
branches;
next	1.13;
commitid	GoKZm2c5ymJs17HF;

1.13
date	2024.10.14.06.46.07;	author wiz;	state Exp;
branches;
next	1.12;
commitid	ynDJEEQamKd33BtF;

1.12
date	2024.07.20.19.04.24;	author adam;	state Exp;
branches;
next	1.11;
commitid	1ggzc8vy7xuJTBiF;

1.11
date	2024.03.07.17.37.53;	author adam;	state Exp;
branches;
next	1.10;
commitid	UulsLN5YkVOjLf1F;

1.10
date	2024.01.20.08.59.36;	author adam;	state Exp;
branches;
next	1.9;
commitid	TbOmB7vvh3NapaVE;

1.9
date	2024.01.12.13.25.20;	author adam;	state Exp;
branches;
next	1.8;
commitid	wXNPtTLMncbk8aUE;

1.8
date	2024.01.10.20.44.43;	author adam;	state Exp;
branches;
next	1.7;
commitid	Xz46fIdozNRVCWTE;

1.7
date	2023.12.07.17.32.33;	author adam;	state Exp;
branches;
next	1.6;
commitid	SBWKwyPzXCYNEyPE;

1.6
date	2023.11.20.06.25.58;	author adam;	state Exp;
branches;
next	1.5;
commitid	59hL3G2uNGqRvjNE;

1.5
date	2023.10.28.19.57.23;	author wiz;	state Exp;
branches;
next	1.4;
commitid	jP8MYROLWZ3yJqKE;

1.4
date	2023.08.31.17.37.48;	author adam;	state Exp;
branches;
next	1.3;
commitid	obt615tdP7bYPXCE;

1.3
date	2023.08.26.11.08.10;	author adam;	state Exp;
branches;
next	1.2;
commitid	rn6hl1MZwkz5QhCE;

1.2
date	2023.08.01.23.20.55;	author wiz;	state Exp;
branches;
next	1.1;
commitid	lyjXpsSeA6xpH8zE;

1.1
date	2023.05.05.10.39.44;	author adam;	state Exp;
branches;
next	;
commitid	9VPHnefWTaGJjLnE;


desc
@@


1.20
log
@*: remove reference to (removed) Python 3.9
@
text
@# $NetBSD: Makefile,v 1.19 2025/09/14 15:40:wiz Exp $

DISTNAME=	jupyter_server-2.17.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	www python
MASTER_SITES=	${MASTER_SITE_PYPI:=j/jupyter-server/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://jupyter-server.readthedocs.io/
COMMENT=	Backend for Jupyter web applications
LICENSE=	modified-bsd

TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-jupyter-builder>=0.8.1:../../devel/py-hatch-jupyter-builder
DEPENDS+=	${PYPKGPREFIX}-Send2Trash>=1.8.2:../../sysutils/py-Send2Trash
DEPENDS+=	${PYPKGPREFIX}-anyio>=3.1.0:../../devel/py-anyio
DEPENDS+=	${PYPKGPREFIX}-argon2-cffi>=21.1:../../security/py-argon2-cffi
DEPENDS+=	${PYPKGPREFIX}-jinja2>=3.0.3:../../textproc/py-jinja2
DEPENDS+=	${PYPKGPREFIX}-jupyter_client>=7.4.4:../../devel/py-jupyter_client
DEPENDS+=	${PYPKGPREFIX}-jupyter_core>=4.12:../../devel/py-jupyter_core
DEPENDS+=	${PYPKGPREFIX}-jupyter_events>=0.11.0:../../devel/py-jupyter_events
DEPENDS+=	${PYPKGPREFIX}-jupyter_server_terminals>=0.4.4:../../comms/py-jupyter_server_terminals
DEPENDS+=	${PYPKGPREFIX}-nbconvert>=6.4.4:../../www/py-nbconvert
DEPENDS+=	${PYPKGPREFIX}-nbformat>=5.3.0:../../www/py-nbformat
DEPENDS+=	${PYPKGPREFIX}-overrides>=5.0:../../devel/py-overrides
DEPENDS+=	${PYPKGPREFIX}-packaging>=22.0:../../devel/py-packaging
DEPENDS+=	${PYPKGPREFIX}-prometheus_client>=0.9:../../net/py-prometheus_client
DEPENDS+=	${PYPKGPREFIX}-terminado>=0.8.3:../../www/py-terminado
DEPENDS+=	${PYPKGPREFIX}-tornado>=6.2.0:../../www/py-tornado
DEPENDS+=	${PYPKGPREFIX}-traitlets>=5.6.0:../../devel/py-traitlets
DEPENDS+=	${PYPKGPREFIX}-websocket-client>=1.7:../../www/py-websocket-client
DEPENDS+=	${PYPKGPREFIX}-zmq>=24:../../net/py-zmq
TEST_DEPENDS+=	${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
TEST_DEPENDS+=	${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel
TEST_DEPENDS+=	${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
TEST_DEPENDS+=	${PYPKGPREFIX}-test-console-scripts-[0-9]*:../../devel/py-test-console-scripts
TEST_DEPENDS+=	${PYPKGPREFIX}-test-jupyter>=0.4:../../www/py-test-jupyter
TEST_DEPENDS+=	${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} jupyter-server jupyter-server-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.19
log
@py-jupyter_server: fix TOOL dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2025/09/02 11:55:02 adam Exp $
d41 1
a41 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.18
log
@py-jupyter_server: updated to 2.17.0

2.17.0

Enhancements made

- Avoid redundant call to `_get_os_path` in `_dir_model`
- Allow specifying extra params to scrub from logs
- Add a logger to the ExtensionPoint API
- Allow user to update identity values

Bugs fixed

- Fix FileNotFoundError handling in rename_file methods
- Use stdlib override when possible
- CORS is not checked when browsing files. check origin now https://github.com/jupyter-server/jupyter_server/issues/1459
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2025/07/05 11:44:13 wiz Exp $
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling>=1.11:../../devel/py-hatchling
@


1.17
log
@*: some more recursive Python restrictions on Python 3.11+

Reported in SmartOS bulk build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2025/06/02 11:32:48 prlw1 Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.16.0
a4 1
PKGREVISION=	1
a12 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-jupyter-builder>=0.8.1:../../devel/py-hatch-jupyter-builder
@


1.16
log
@jupyter_server: revert part of previous update to fix build:

  hatchling.plugin.exceptions.UnknownPluginError: Unknown build hook: jupyter-builder
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2025/05/17 07:52:09 adam Exp $
d43 1
a43 1
USE_PKGLOCALEDIR=	yes
@


1.15
log
@py-jupyter_server: updated to 2.16.0

2.16.0

Enhancements made

- If ServerApp.ip is ipv6 use [::1] as local_url
- Don't hide .so,.dylib files by default
- Add async start hook to ExtensionApp API

Bugs fixed

- Update meetings notes link and zoom link
- Fallback to direct write for readonly dirs and use temp path for checkpoints
- Check file permissions before making tmp file
- Validate extension name before toggling through CLI
- Fix for 1479: Incorrect usage of i18n format
- Fix handling of missing parent header in record activity
- display_url: Don't duplicate public_url and local_url if they are the same

Maintenance and upkeep improvements

- tests: install test-functional requirements for Jupytext downstream tests

Documentation improvements

- Update websocket-protocols documentation to reflect implementation
- Update Security Section in the Jupyter Server Documentation
- Update Contribution Page for Jupyter Server
- Fix typo in metric description
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2025/01/27 10:49:32 adam Exp $
d5 1
d14 1
@


1.14
log
@py-jupyter_server: updated to 2.15.0

2.15.0

Enhancements made

- Better error message when starting kernel for session.
- Add a traitlet to disable recording HTTP request metrics
- prometheus: Expose 3 activity metrics
- Add prometheus info metrics listing server extensions + versions
- Add prometheus metric with version information
- Better hash format error message
- Removing excessive logging from reading local files
- Do not include token in dashboard link, when available
- Add an option to have authentication enabled for all endpoints by default
- websockets: add configurations for ping interval and timeout
- log extension import time at debug level unless it's actually slow
- Add support for async Authorizers (part 2)
- Support async Authorizers
- Support get file(notebook) md5
- Update kernel env to reflect changes in session

Bugs fixed

- Return HTTP 400 when attempting to post an event with an unregistered schema
- write server extension list to stdout
- don't let ExtensionApp jpserver_extensions be overridden by config
- Pass session_id during Websocket connect
- Do not log environment variables passed to kernels
- extensions: render default templates with default static_url
- Improve the busy/idle execution state tracking for kernels.
- Ignore zero-length page_config.json, restore previous behavior of crashing for invalid JSON
- Don't crash on invalid JSON in page_config
- Fix color in windows log console with colorama
- Fix log arguments for gateway client error
- Import User unconditionally
- Fix a typo in error message
- avoid unhandled error on some invalid paths
- Change md5 to hash and hash_algorithm, fix incompatibility
- ContentsHandler return 404 rather than raise exc
- Force legacy ws subprotocol when using gateway

Maintenance and upkeep improvements

- Donation link NF -> LF
- Handle newer jupyter_events wants string version, drop 3.8
- Ignore unclosed sqlite connection in traits
- chore: update pre-commit hooks
- chore: update pre-commit hooks
- Use hatch fmt command
- chore: update pre-commit hooks
- Fix jupytext and lint CI failures
- Set all min deps
- chore: update pre-commit hooks
- Update pytest requirement from \<8,>=7.0 to >=7.0,\<9
- Pin to Pytest 7
- Update release workflows
- chore: update pre-commit hooks
- Improve warning handling
- Simplify the jupytext downstream test
- Fix test param for pytest-xdist
- Update pre-commit deps
- Use ruff docstring-code-format
- Update for tornado 6.4
- chore: update pre-commit hooks
- Update ruff and typings
- Clean up ruff config
- Add more typings
- chore: update pre-commit hooks
- Clean up config and address warnings
- Clean up lint and typing
- Update typing for traitlets 5.13
- Update typings and fix tests

Documentation improvements

- add comments to explain signal handling under jupyterhub
- Update documentation for `cookie_secret`
- Add Changelog for 2.14.1
- Update simple extension examples: \_jupyter_server_extension_points
- Link to GitHub repo from the docs
- docs: list server extensions
- Update simple extension README to cd into correct subdirectory
- Add deprecation note for `ServerApp.preferred_dir`
- Replace \_jupyter_server_extension_paths in apidocs
- fix "Shutdown" -> "Shut down"
- Enable htmlzip and epub on readthedocs
- Update api docs with md5 param
- typo: ServerApp
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/10/14 06:46:07 wiz Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.15.0
a12 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-jupyter-builder>=0.8.1:../../devel/py-hatch-jupyter-builder
@


1.13
log
@*: clean-up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2024/07/20 19:04:24 adam Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.14.2
d17 1
a17 1
DEPENDS+=	${PYPKGPREFIX}-argon2-cffi-[0-9]*:../../security/py-argon2-cffi
d21 1
a21 1
DEPENDS+=	${PYPKGPREFIX}-jupyter_events>=0.9.0:../../devel/py-jupyter_events
@


1.12
log
@py-jupyter_server: updated to 2.14.2

2.14.2

Bugs fixed

- Pass session_id during Websocket connect
- Do not log environment variables passed to kernels

Maintenance and upkeep improvements

- chore: update pre-commit hooks
- chore: update pre-commit hooks

Documentation improvements

- Update documentation for `cookie_secret`
- Add Changelog for 2.14.1
- Update simple extension examples: \_jupyter_server_extension_points


2.14.1

Enhancements made

- Removing excessive logging from reading local files

Security Fix

- [Filefind: avoid handling absolute paths]


2.14.0

Enhancements made

- Do not include token in dashboard link, when available

Bugs fixed

- Ignore zero-length page_config.json, restore previous behavior of crashing for invalid JSON
- Don't crash on invalid JSON in page_config

Maintenance and upkeep improvements

- Fix jupytext and lint CI failures
- Set all min deps
- chore: update pre-commit hooks
- Update pytest requirement from \<8,>=7.0 to >=7.0,\<9
- Pin to Pytest 7

Documentation improvements

- Link to GitHub repo from the docs
- docs: list server extensions
- Update simple extension README to cd into correct subdirectory
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/03/07 17:37:53 adam Exp $
a43 2
PYTHON_VERSIONS_INCOMPATIBLE=	27 38

@


1.11
log
@py-jupyter_server: updated to 2.13.0

2.13.0

Enhancements made

- Add an option to have authentication enabled for all endpoints by default
- websockets: add configurations for ping interval and timeout

Bugs fixed

- Fix color in windows log console with colorama

Maintenance and upkeep improvements

- Update release workflows
- chore: update pre-commit hooks

Documentation improvements

- Add deprecation note for `ServerApp.preferred_dir`
- Replace \_jupyter_server_extension_paths in apidocs
- fix "Shutdown" -> "Shut down"
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2024/01/20 08:59:36 adam Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.13.0
d18 1
a18 1
DEPENDS+=	${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
d22 1
a22 1
DEPENDS+=	${PYPKGPREFIX}-jupyter_server_terminals-[0-9]*:../../comms/py-jupyter_server_terminals
d25 3
a27 3
DEPENDS+=	${PYPKGPREFIX}-overrides-[0-9]*:../../devel/py-overrides
DEPENDS+=	${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
DEPENDS+=	${PYPKGPREFIX}-prometheus_client-[0-9]*:../../net/py-prometheus_client
d31 1
a31 1
DEPENDS+=	${PYPKGPREFIX}-websocket-client-[0-9]*:../../www/py-websocket-client
@


1.10
log
@py-jupyter_server: updated to 2.12.5

2.12.5

Maintenance and upkeep improvements

- Improve warning handling
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2024/01/12 13:25:20 adam Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.12.5
@


1.9
log
@py-jupyter_server: updated to 2.12.4

2.12.4

Bugs fixed

- Fix log arguments for gateway client error
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2024/01/10 20:44:43 adam Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.12.4
@


1.8
log
@py-jupyter_server: updated to 2.12.3

2.12.3

Bugs fixed

- Import User unconditionally

Maintenance and upkeep improvements

- Simplify the jupytext downstream test
- Fix test param for pytest-xdist


2.12.2

Bugs fixed

- Fix a typo in error message
- Force legacy ws subprotocol when using gateway

Maintenance and upkeep improvements

- Update pre-commit deps
- Use ruff docstring-code-format

Documentation improvements

- Enable htmlzip and epub on readthedocs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/12/07 17:32:33 adam Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.12.3
@


1.7
log
@py-jupyter_server: updated to 2.12.1

2.12.1

Enhancements made

- log extension import time at debug level unless it's actually slow
- Add support for async Authorizers (part 2)


2.12.0

Enhancements made

- Support async Authorizers

Maintenance and upkeep improvements

- Update for tornado 6.4
- chore: update pre-commit hooks
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/11/20 06:25:58 adam Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.12.1
@


1.6
log
@py-jupyter_server: updated to 2.10.1

2.10.1

Bugs fixed

- ContentsHandler return 404 rather than raise exc

Maintenance and upkeep improvements

- Clean up ruff config
- Add more typings
- chore: update pre-commit hooks


2.10.0

Enhancements made

- Update kernel env to reflect changes in session

Maintenance and upkeep improvements

- Clean up config and address warnings
- Clean up lint and typing
- Update typing for traitlets 5.13
- Update typings and fix tests
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/10/28 19:57:23 wiz Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.10.1
d24 1
@


1.5
log
@python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/08/31 17:37:48 adam Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.7.3
a4 1
PKGREVISION=	1
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-Send2Trash-[0-9]*:../../sysutils/py-Send2Trash
d21 1
a21 1
DEPENDS+=	${PYPKGPREFIX}-jupyter_events>=0.6.0:../../devel/py-jupyter_events
a34 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test>=7.0:../../devel/py-test
a48 3
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

@


1.4
log
@py-jupyter_server: updated to 2.7.3

2.7.3

New features added
- Support external kernels
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/08/26 11:08:10 adam Exp $
d5 1
@


1.3
log
@py-jupyter_server: updated to 2.7.2

2.7.1

Bugs fixed

- accessing API version should not count as activity
- Make kernel_id as a conditional optional field
- Reference current_user to detect auth

Maintenance and upkeep improvements

- send2trash now supports deleting from different filesystem type

Documentation improvements

- Add root `/api/` endpoint to REST spec
- Fix broken link in doc
- Rename notebook.auth.security.passwd->jupyter_server.auth.passwd in docs
- Update notes link
- docs: fix broken hyperlink to Tornado


2.7.0

Bugs fixed

- Add missing events to gateway client

Maintenance and upkeep improvements

- Handle test failures
- Try testing against python 3.12

Documentation improvements

- Remove frontend doc
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/08/01 23:20:55 wiz Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.7.2
@


1.2
log
@*: remove more references to Python 3.7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2023/05/05 10:39:44 adam Exp $
d3 1
a3 1
DISTNAME=	jupyter_server-2.5.0
d21 1
a21 1
DEPENDS+=	${PYPKGPREFIX}-jupyter_events>=0.4.0:../../devel/py-jupyter_events
d24 1
a24 1
DEPENDS+=	${PYPKGPREFIX}-nbformat>=5.3.0:../../www/py-nbformat
a26 1
DEPENDS+=	${PYPKGPREFIX}-zmq>=24:../../net/py-zmq
d31 2
a32 1
# TODO: py-test_jupyter
d37 1
@


1.1
log
@py-jupyter_server: added version 2.5.0

The Jupyter Server provides the backend (i.e. the core services, APIs, and REST
endpoints) for Jupyter web applications like Jupyter notebook, JupyterLab, and
Voila.
@
text
@d1 1
a1 1
# $NetBSD$
d43 1
a43 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 37 38
@

