Upcoming dnspython 2.0.0 upload (new and improved with incompatibilities)

2020-08-09 Thread Scott Kitterman
I've started working on updating dnspython to 2.0.0.  The package itself is 
basically ready to go, but there is at least one incompatibility I've found 
relative to the current 1.16.0 version.

As far as I can tell, this only affects DNS results for type TXT lookups.  For 
those, the data returned is a tuple instead of a list.  There is also a 
deprecation warning for the dns.resolver.query class:

DeprecationWarning: please use dns.resolver.resolve() instead

That will, eventually, affect all DNS lookups, so it's worth discussing with 
upstream developers.  For projects still maintaining python2 compatibility it 
will be slightly more complicated to deal with since dnspython 2.0.0 is 
python3 only and dns.resolver.resolve does not exist in the last python2 
version.

I suspect usage of DNS TXT lookups is somewhat of a niche thing.  I've already 
fixed pyspf, dkimpy, and dkimpy-milter to work with both the old and new 
dnspython (still using the deprecated dns.resolver.query class).  If anyone 
else know of packages that use dnspython to make DNS TXT lookups and would 
like help fixing their package, please let me know and I'll be glad to help as 
I have time (which has been very limited lately).

If I don't hear from anyone I' plan on uploading dnspython 2.0.0 to unstable 
in the coming days.

Scott K

signature.asc
Description: This is a digitally signed message part.


Bug#968152: ITP: python-iniconfig -- brain-dead simple parsing of ini files

2020-08-09 Thread Christian Kastner
Package: wnpp
Severity: wishlist
Owner: Christian Kastner 

* Package name: python-iniconfig
  Version : 1.0.1
  Upstream Author : Ronny Pfannschmidt
* URL : https://github.com/RonnyPfannschmidt/iniconfig
* License : MIT
  Programming Lang: Python
  Description : brain-dead simple parsing of ini files

iniconfig is a small and simple INI-file parser module having a unique set of
features:

  * tested against Python2.4 across to Python3.2, Jython, PyPy
  * maintains order of sections and entries
  * supports multi-line values with or without line-continuations
  * supports "#" comments everywhere
  * raises errors with proper line-numbers
  * no bells and whistles like automatic substitutions
  * iniconfig raises an Error if two sections have the same name.

This is a dependency of a newer pytest version and will be maintained under the
umbrella of the Debian Python Modules Team.



Bug#968151: ITP: python-xmlschema -- implementation of XML Schema for Python

2020-08-09 Thread Christian Kastner
Package: wnpp
Severity: wishlist
Owner: Christian Kastner 

* Package name: python-xmlschema
  Version : 1.2.2
  Upstream Author : SISSA (Scuola Internazionale Superiore di Studi Avanzati)
* URL : https://github.com/sissaschool/xmlschema/
* License : MIT
  Programming Lang: Python
  Description : implementation of XML Schema for Python

This library includes the following features:

  * Full XSD 1.0 and XSD 1.1 support
  * Building of XML schema objects from XSD files
  * Validation of XML instances against XSD schemas
  * Decoding of XML data into Python data and to JSON
  * Encoding of Python data and JSON to XML
  * Data decoding and encoding ruled by converter classes
  * An XPath based API for finding schema's elements and attributes
  * Support of XSD validation modes strict/lax/skip
  * Remote attacks protection by default using an XMLParser that forbids
entities

This is a dependency of a newer pytest version and will be maintained under the
umbrella of the Debian Python Modules Team.