head	1.16;
access;
symbols
	pkgsrc-2026Q1:1.16.0.2
	pkgsrc-2026Q1-base:1.16
	pkgsrc-2025Q4:1.14.0.2
	pkgsrc-2025Q4-base:1.14
	pkgsrc-2025Q3:1.12.0.2
	pkgsrc-2025Q3-base:1.12
	pkgsrc-2025Q2:1.9.0.2
	pkgsrc-2025Q2-base:1.9
	pkgsrc-2025Q1:1.7.0.2
	pkgsrc-2025Q1-base:1.7
	pkgsrc-2024Q4:1.3.0.2
	pkgsrc-2024Q4-base:1.3;
locks; strict;
comment	@# @;


1.16
date	2026.02.17.15.27.23;	author adam;	state Exp;
branches;
next	1.15;
commitid	glddMpJ39DHA9KuG;

1.15
date	2026.01.11.10.20.30;	author adam;	state Exp;
branches;
next	1.14;
commitid	QoDDWhDZzmg5EXpG;

1.14
date	2025.12.12.09.38.42;	author adam;	state Exp;
branches;
next	1.13;
commitid	Ay01ifq2Pekyn6mG;

1.13
date	2025.09.22.10.51.15;	author adam;	state Exp;
branches;
next	1.12;
commitid	qg0GJ6rdzvaQnHbG;

1.12
date	2025.08.26.09.20.11;	author adam;	state Exp;
branches;
next	1.11;
commitid	CymUyVQTx9DqKd8G;

1.11
date	2025.07.22.10.04.29;	author wiz;	state Exp;
branches;
next	1.10;
commitid	WObupixJ3cQq7J3G;

1.10
date	2025.06.30.20.25.25;	author adam;	state Exp;
branches;
next	1.9;
commitid	dtg4HafOy8hegX0G;

1.9
date	2025.06.04.11.38.57;	author adam;	state Exp;
branches;
next	1.8;
commitid	5MvWbIZbq1NobzXF;

1.8
date	2025.04.21.05.58.12;	author adam;	state Exp;
branches;
next	1.7;
commitid	9S8cHRJAOTtcISRF;

1.7
date	2025.03.12.14.21.07;	author adam;	state Exp;
branches;
next	1.6;
commitid	qPgZZsiri0GtMMMF;

1.6
date	2025.02.25.17.58.01;	author adam;	state Exp;
branches;
next	1.5;
commitid	ME8QYf1yVfIGsSKF;

1.5
date	2025.01.25.11.37.33;	author adam;	state Exp;
branches;
next	1.4;
commitid	nF3s6zLp5xu3mRGF;

1.4
date	2025.01.21.14.15.01;	author adam;	state Exp;
branches;
next	1.3;
commitid	NUkSJX2ypX9RlmGF;

1.3
date	2024.12.15.11.38.40;	author wiz;	state Exp;
branches;
next	1.2;
commitid	orExfUoXkpv5GABF;

1.2
date	2024.12.15.09.47.18;	author adam;	state Exp;
branches;
next	1.1;
commitid	4ymw7pC6j0vQ3ABF;

1.1
date	2024.12.10.07.54.25;	author wiz;	state Exp;
branches;
next	;
commitid	RTIN6EjObSreBVAF;


desc
@@


1.16
log
@py-starlette: updated to 0.52.1

0.52.1 (January 18, 2026)

Fixed

* Only use `typing_extensions` in older Python versions

0.52.0 (January 18, 2026)

In this release, `State` can be accessed using dictionary-style syntax for improved type
safety.
@
text
@# $NetBSD: Makefile,v 1.15 2026/01/11 10:20:30 adam Exp $

DISTNAME=	starlette-0.52.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	www python
MASTER_SITES=	${MASTER_SITE_PYPI:=s/starlette/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/encode/starlette
COMMENT=	Little ASGI library that shines
LICENSE=	modified-bsd

TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
DEPENDS+=	${PYPKGPREFIX}-anyio>=3.6.2:../../devel/py-anyio
TEST_DEPENDS+=	${PYPKGPREFIX}-httpx>=0.27.0:../../www/py-httpx
TEST_DEPENDS+=	${PYPKGPREFIX}-itsdangerous-[0-9]*:../../security/py-itsdangerous
TEST_DEPENDS+=	${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
TEST_DEPENDS+=	${PYPKGPREFIX}-python-multipart>=0.0.18:../../www/py-python-multipart
TEST_DEPENDS+=	${PYPKGPREFIX}-trio-[0-9]*:../../devel/py-trio
TEST_DEPENDS+=	${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml

USE_LANGUAGES=	# none

# test status as of 0.47.1 and 0.47.2
# python core dump in thread trampoline

.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 313
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.10.0:../../devel/py-typing-extensions
.else
# TODO: shouldn't be necessary, report upstream
TEST_DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.10.0:../../devel/py-typing-extensions
.endif

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


1.15
log
@py-starlette: updated to 0.51.0

0.51.0 (January 10, 2026)

Added

* Add `allow_private_network` in `CORSMiddleware`

Changed

* Increase warning stacklevel on `DeprecationWarning` for wsgi module
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2025/12/12 09:38:42 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.51.0
@


1.14
log
@py-starlette: updated to 0.50.0

0.50.0
Drop Python 3.9 support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2025/09/22 10:51:15 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.50.0
@


1.13
log
@py-starlette: updated to 0.48.0

0.48.0

Added

Add official Python 3.14 support.

Changed

Implement RFC9110 http status names.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2025/08/26 09:20:11 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.48.0
@


1.12
log
@py-starlette: updated to 0.47.3

0.47.3

Fixed

Use asyncio.iscoroutinefunction for Python 3.12 and older
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2025/07/22 10:04:29 wiz Exp $
d3 1
a3 1
DISTNAME=	starlette-0.47.3
d28 2
a29 2
.if ${PYTHON_VERSION} < 310
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.10.0:../../devel/py-typing-extensions
d32 1
a32 1
TEST_DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.10.0:../../devel/py-typing-extensions
@


1.11
log
@py-starlette: update to 0.47.2.

Make UploadFile check for future rollover #2962.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2025/06/30 20:25:25 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.47.2
@


1.10
log
@py-starlette: updated to 0.47.1

0.47.1 (June 21, 2025)

Fixed

* Use `Self` in `TestClient.__enter__`
* Allow async exception handlers to type-check
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2025/06/04 11:38:57 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.47.1
d24 3
@


1.9
log
@py-starlette: updated to 0.47.0

0.47.0

Added

Add support for ASGI pathsend extension
Add partitioned attribute to Response.set_cookie

Changed

Change methods parameter type from list[str] to Collection[str]
Replace import typing by from typing import ... in the whole codebase

Fixed

Mark ExceptionMiddleware.http_exception as async to prevent thread creation
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2025/04/21 05:58:12 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.47.0
@


1.8
log
@py-starlette: updated to 0.46.2

0.46.2 (April 13, 2025)

Fixed

* Prevents reraising of exception from BaseHttpMiddleware
* Use correct index on backwards compatible logic in `TemplateResponse`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2025/03/12 14:21:07 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.46.2
@


1.7
log
@py-starlette: updated to 0.46.1

0.46.1

Fixed

Allow relative directory path when follow_symlinks=True
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/02/25 17:58:01 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.46.1
@


1.6
log
@py-starlette: updated to 0.46.0

0.46.0 (February 22, 2025)

Added

* `GZipMiddleware`: Make sure `Vary` header is always added if a response can be compressed

Fixed

* Raise exception from background task on BaseHTTPMiddleware
* `GZipMiddleware`: Don't compress on server sent events

Changed

* `MultiPartParser`: Rename `max_file_size` to `spool_max_size`

Deprecated

* Add deprecated warning to `TestClient(timeout=...)`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2025/01/25 11:37:33 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.46.0
@


1.5
log
@py-starlette: updated to 0.45.3

0.45.3

Fixed

Turn directory into string on lookup_path on commonpath comparison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2025/01/21 14:15:01 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.45.3
@


1.4
log
@py-starlette: updated to 0.45.2

0.45.2 (January 4, 2025)

Fixed

* Make `create_memory_object_stream` compatible with old anyio versions once again, and bump anyio minimum version to 3.6.2

0.45.1 (December 30, 2024)

Fixed

* Close `MemoryObjectReceiveStream` left unclosed upon exception in `BaseHTTPMiddleware` children
* Collect errors more reliably from the WebSocket logic on the `TestClient`

Refactor

* Use a pair of memory object streams instead of two queues on the `TestClient`

0.45.0 (December 29, 2024)

Removed

* Drop Python 3.8 support
* Remove `ExceptionMiddleware` import proxy from `starlette.exceptions` module
* Remove deprecated `WS_1004_NO_STATUS_RCVD` and `WS_1005_ABNORMAL_CLOSURE`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2024/12/15 11:38:40 wiz Exp $
d3 1
a3 1
DISTNAME=	starlette-0.45.2
@


1.3
log
@py-starlette: py-typing-extensions is a test dependency on all python versions

TODO: Probably a bug, report upstream.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2024/12/15 09:47:18 adam Exp $
d3 1
a3 1
DISTNAME=	starlette-0.42.0
d14 1
a14 1
DEPENDS+=	${PYPKGPREFIX}-anyio>=3.4.0:../../devel/py-anyio
@


1.2
log
@py-starlette: updated to 0.42.0

0.42.0 (December 14, 2024)

Added

* Raise `ClientDisconnect` on `StreamingResponse`

Fixed

* Use ETag from headers when parsing If-Range in FileResponse
* Follow directory symlinks in `StaticFiles` when `follow_symlinks=True`
* Bump minimum `python-multipart` version to `0.0.18`
* Bump minimum `httpx` version to `0.27.0`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2024/12/10 07:54:25 wiz Exp $
d27 3
@


1.1
log
@www/py-starlette: import py-starlette-0.41.3

Starlette is a lightweight ASGI framework/toolkit, which is ideal
for building async web services in Python.

It is production-ready, and gives you the following:

* A lightweight, low-complexity HTTP web framework.
* WebSocket support.
* In-process background tasks.
* Startup and shutdown events.
* Test client built on httpx.
* CORS, GZip, Static Files, Streaming responses.
* Session and Cookie support.
* 100% test coverage.
* 100% type annotated codebase.
* Few hard dependencies.
* Compatible with asyncio and trio backends.
* Great overall performance against independent benchmarks.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	starlette-0.41.3
d5 1
a5 1
CATEGORIES=	www
d14 2
a15 2
DEPENDS+=	${PYPKGPREFIX}-anyio-[0-9]*:../../devel/py-anyio
TEST_DEPENDS+=	${PYPKGPREFIX}-httpx-[0-9]*:../../www/py-httpx
d18 1
d20 1
a20 1
TEST_DEPENDS+=	${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
d24 5
@

