BSD Ports

www/py-idna 3.19 NetBSD

Python module for Internationalized Domain Names in Applications (IDNA)

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
1c2c4b75a5
License
modified-bsd
Categories
www, python
Package size
75.5 KiB, 675.1 KiB installed

Description

A library to support the Internationalised Domain Names in Applications (IDNA) protocol as specified in RFC 5891. This version of the protocol is often referred to as IDNA2008 and can produce different results from the earlier standard from 2003.

The library is also intended to act as a suitable drop-in replacement for the encodings.idna module that comes with the Python standard library but currently only supports the older 2003 specification.

In the other systems

The newest version among them is 3.19, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDwww/py-idna3.19 newestnone known-[email protected]2026-09-26
DragonFlydns/py-idna by name3.10 behind since 2026-08-23none known-[email protected]-

Compare across BSDs

Version history 2

  1. 3.20 1c2c4b75a5
  2. 3.19 a372401ae4

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install py311-idna

From pkgsrc:

cd /usr/pkgsrc/www/py-idna && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.19
NetBSD 10.1 aarch643.19
SmartOS / illumos x86_643.20
macOS 15 arm643.20

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-idna-3.19, py313-idna-3.19, py314-idna-3.19

Commit history 2

DateCommitCreditsLog message
1c2c4b75a5 wiz py-idna: update to 3.20.
Update to Unicode 18.0.0. Better enforcement of the domain length limit in the incremental codec. Add support for Python 3.15.
a372401ae4 wiz py-idna: update to 3.19.
## 3.19 (2026-08-XX) - Restore the `std3_rules` option, which had no effect since changes to UTS #46 processing in Unicode 16. Note that `uts46_remap()` defaults to enabling STD3 rules, so direct callers will see input containing non-LDH ASCII characters rejected again. - Performance improvements to UTS #46 mapping, particularly for ASCII-only domains. - Test on free-threaded CPython with the GIL disabled and document thread safety. - Expose the Unicode version of the generated tables as `idna.unicode_version`, and show it in `idna --version`. - Add `code`, `text`, `codepoint` and `position` attributes to `IDNAError` so that the failed rule and the offending character can be identified without parsing the exception message. …