forked from pool/python-url-normalize
* Added
+ New `default_domain` parameter to support absolute paths with domain
names
+ New command-line interface (`url-normalize`)
+ Query parameter filtering functionality
+ Parameter allowlist feature for controlling accepted query parameters
+ IDNA 2008 support via `idna` package
* Fixed
+ Handle URLs with missing slashes correctly
+ Fix decoding of reserved characters in URL paths
+ Fix Twitter hashtag encoding in query parameters
+ Do not encode equals sign in fragment
+ Reverted license format in pyproject.toml to maintain Python 3.8
compatibility with older setuptools versions
* Changed
+ **BREAKING:** Switch default scheme from 'http' to 'https'
+ **BREAKING:** Migrated IDNA handling to use IDNA 2008 with UTS46
processing
+ **BREAKING:** Updated minimum Python version to 3.8
+ **BREAKING:** Removed sort_query_params option as it was incorrect
+ Enhanced query normalization with parameter filtering support
+ Updated URL cleanup to support new filtering features
+ Changed host normalization to handle each domain label separately
- Drop patch url-normalize-pr28-poetry-core.patch, now included.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-url-normalize?expand=0&rev=5
22 lines
692 B
Diff
22 lines
692 B
Diff
From b8557b10c977b191cc9d37e6337afe874a24ad08 Mon Sep 17 00:00:00 2001
|
|
From: Fabian Affolter <mail@fabian-affolter.ch>
|
|
Date: Sun, 2 Jan 2022 11:14:15 +0100
|
|
Subject: [PATCH] Switch to poetry-core
|
|
|
|
---
|
|
pyproject.toml | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/pyproject.toml b/pyproject.toml
|
|
index f824aa9..ed77161 100644
|
|
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -30,5 +30,5 @@ pytest-socket = [{version="0.3.3", python="~2.7"}, {version="*", python="^3.6"}]
|
|
tox = [{version="*", python="^3.6"}]
|
|
|
|
[build-system]
|
|
-build-backend = "poetry.masonry.api"
|
|
-requires = ["poetry>=0.12"]
|
|
+requires = ["poetry-core>=1.0.0"]
|
|
+build-backend = "poetry.core.masonry.api"
|