8000 Get files ready for 1.20 release · lucasicr/python-stdnum@201d4d1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 201d4d1

Browse files
committed
Get files ready for 1.20 release
1 parent b454d3a commit 201d4d1

9 files changed

+150
-4
lines changed

ChangeLog

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,113 @@
1+
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [b454d3a] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
4+
stdnum/cn/loc.dat, stdnum/gs1_128.py, stdnum/gs1_ai.dat,
5+
stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat,
6+
stdnum/nz/banks.dat, stdnum/oui.dat, tests/test_be_iban.doctest,
7+
update/gs1_ai.py: Update database files
8+
9+
The Belgian bpost bank no longer has a registration and a few
10+
bank account numbers in the tests that used that bank were removed.
11+
12+
Also updates the update/gs1_ai.py script to handle the new format
13+
of the data published by GS1. Also update the GS1-128 module to
14+
handle some different date formats.
15+
16+
The Pakistan entry was kept in the stdnum/iban.dat file because
17+
the PDF version of the IBAN Registry still contains the country.
18+
19+
fix db
20+
21+
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
22+
23+
* [97dbced] tox.ini: Add update-dat tox target for convenient data
24+
file updating
25+
26+
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
27+
28+
* [26fd25b] setup.cfg, update/cfi.py, update/nz_banks.py,
29+
update/requirements.txt: Switch to using openpyxl for parsing
30+
XLSX files
31+
32+
The xlrd has dropped support for parsing XLSX files. We still
33+
use xlrd for update/be_banks.py because they use the classic
34+
XLS format and openpyxl does not support that format.
35+
36+
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
37+
38+
* [9230604] stdnum/za/idnr.py: Use HTTPS in URLs where possible
39+
40+
2024-02-27 Atul Deolekar <atul.deolekar@gmail.com>
41+
42+
* [7cba469] stdnum/in_/vid.py: Add Indian virtual identity number
43+
44+
Closes https://github.com/arthurdejong/python-stdnum/pull/428
45+
46+
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
47+
48+
* [bb20121] stdnum/ua/edrpou.py, tests/test_ua_edrpou.doctest:
49+
Fix Ukrainian EDRPOU check digit calculation
50+
51+
This fixes the case where the weighted sum woud be 10 which
52+
should result in a check digit of 0.
53+
54+
Closes https://github.com/arthurdejong/python-stdnum/issues/429
55+
56+
2023-12-15 Kevin Dagostino <kevin@tonkworks.com>
57+
58+
* [9c7c669] stdnum/fr/nif.py: Imporve French NIF validation
59+
(checksum)
60+
61+
The last 3 digits are a checksum. % 511
62+
https://ec.europa.eu/taxation_customs/tin/specs/FS-TIN%20Algorithms-Public.docx
63+
64+
Closes https://github.com/arthurdejong/python-stdnum/pull/426
65+
66+
2024-02-03 Arthur de Jong <arthur@arthurdejong.org>
67+
68+
* [1e412ee] stdnum/vatin.py, tests/test_vatin.doctest: Fix vatin
69+
number compacting for "EU" VAT numbers
70+
71+
Thanks Davide Walder for finding this.
72+
73+
Closes https://github.com/arthurdejong/python-stdnum/issues/427
74+
75+
2023-11-19 Daniel Weber <weberdk01@gmail.com>
76+
77+
* [2535bbf] stdnum/eu/ecnumber.py, tests/test_eu_ecnumber.doctest:
78+
Add European Community (EC) Number
79+
80+
Closes https://github.com/arthurdejong/python-stdnum/pull/422
81+
82+
2023-10-20 Ömer Boratav <omerboratav@gmail.com>
83+
84+
* [2478483] stdnum/ca/bc_phn.py: Add British Columbia PHN
85+
86+
Closes https://github.com/arthurdejong/python-stdnum/pull/421
87+
88+
2023-11-12 Arthur de Jong <arthur@arthurdejong.org>
89+
90+
* [58d6283] stdnum/ro/cf.py, tests/test_eu_vat.doctest: Ensure EU
91+
VAT numbers don't accept duplicate country codes
92+
93+
2023-11-12 Arthur de Jong <arthur@arthurdejong.org>
94+
95+
* [1a5db1f] stdnum/de/vat.py: Fix typo (thanks Александр
96+
Кизеев)
97+
98+
2023-10-02 Arthur de Jong <arthur@arthurdejong.org>
99+
100+
* [352bbcb] .github/workflows/test.yml, setup.py, tox.ini: Add
101+
support for Python 3.12
102+
103+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
104+
105+
* [fa455fc] ChangeLog, NEWS, README.md, docs/index.rst,
106+
docs/stdnum.be.bis.rst, docs/stdnum.eg.tn.rst,
107+
docs/stdnum.es.postal_code.rst, docs/stdnum.eu.oss.rst,
108+
docs/stdnum.gn.nifp.rst, docs/stdnum.si.maticna.rst,
109+
stdnum/__init__.py: Get files ready for 1.19 release
110+
1111
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
2112

3113
* [3191b4c] MANIFEST.in: Ensure all files are included in source

NEWS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
changes from 1.19 to 1.20
2+
-------------------------
3+
4+
* Add modules for the following number formats:
5+
- BC PHN (British Columbia Personal Health Number) (thanks Ömer Boratav)
6+
- EC Number (European Community number) (thanks Daniel Weber)
7+
- VID (Indian personal virtual identity number) (thanks Atul Deolekar)
8+
9+
* Fix typo in German Umsatzsteur Identifikationnummer (thanks Александр Кизеев)
10+
* Ensure EU VAT numbers don't accept duplicate country codes
11+
* Fix vatin number compacting for "EU" VAT numbers (thanks Davide Walder)
12+
* Add check digit validation to French NIF (thanks Kevin Dagostino)
13+
* Fix Ukrainian EDRPOU check digit calculation (thanks sector119)
14+
15+
116
changes from 1.18 to 1.19
217
-------------------------
318

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Currently this package supports the following formats:
4040
* CNPJ (Cadastro Nacional da Pessoa Jurídica, Brazilian company identifier)
4141
* CPF (Cadastro de Pessoas Físicas, Brazilian national identifier)
4242
* УНП, UNP (Учетный номер плательщика, the Belarus VAT number)
43+
* BC PHN (British Columbia Personal Health Number)
4344
* BN (Canadian Business Number)
4445
* SIN (Canadian Social Insurance Number)
4546
* CAS RN (Chemical Abstracts Service Registry Number)
@@ -90,6 +91,7 @@ Currently this package supports the following formats:
9091
* Referencia Catastral (Spanish real estate property id)
9192
* SEPA Identifier of the Creditor (AT-02)
9293
* Euro banknote serial numbers
94+
* EC Number (European Community number)
9395
* EIC (European Energy Identification Code)
9496
* NACE (classification for businesses in the European Union)
9597
* OSS (European VAT on e-Commerce - One Stop Shop)
@@ -133,6 +135,7 @@ Currently this package supports the following formats:
133135
* EPIC (Electoral Photo Identity Card, Indian Voter ID)
134136
* GSTIN (Goods and Services Tax identification number, Indian VAT number)
135137
* PAN (Permanent Account Number, Indian income tax identifier)
138+
* VID (Indian personal virtual identity number)
136139
* Kennitala (Icelandic personal and organisation identity code)
137140
* VSK number (Virðisaukaskattsnúmer, Icelandic VAT number)
138141
* ISAN (International Standard Audiovisual Number)
@@ -286,7 +289,7 @@ also work with older versions of Python.
286289
Copyright
287290
---------
288291

289-
Copyright (C) 2010-2023 Arthur de Jong and others
292+
Copyright (C) 2010-2024 Arthur de Jong and others
290293

291294
This library is free software; you can redistribute it and/or
292295
modify it under the terms of the GNU Lesser General Public

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
# General information about the project.
4141
project = u'python-stdnum'
42-
copyright = u'2013-2023, Arthur de Jong'
42+
copyright = u'2013-2024, Arthur de Jong'
4343

4444
# The version info for the project you're documenting, acts as replacement for
4545
# |version| and |release|, also used in various other places throughout the

docs/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ Available formats
138138
br.cnpj
139139
br.cpf
140140
by.unp
141+
ca.bc_phn
141142
ca.bn
142143
ca.sin
143144
casrn
@@ -188,6 +189,7 @@ Available formats
188189
es.referenciacatastral
189190
eu.at_02
190191
eu.banknote
192+
eu.ecnumber
191193
eu.eic
192194
eu.nace
193195
eu.oss
@@ -231,6 +233,7 @@ Available formats
231233
in_.epic
232234
in_.gstin
233235
in_.pan
236+
in_.vid
234237
is_.kennitala
235238
is_.vsk
236239
isan

docs/stdnum.ca.bc_phn.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.ca.bc_phn
2+
================
3+
4+
.. automodule:: stdnum.ca.bc_phn
5+
:members:

docs/stdnum.eu.ecnumber.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.eu.ecnumber
2+
==================
3+
4+
.. automodule:: stdnum.eu.ecnumber
5+
:members:

docs/stdnum.in_.vid.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.in\_.vid
2+
===============
3+
4+
.. automodule:: stdnum.in_.vid
5+
:members:

stdnum/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# __init__.py - main module
22
# coding: utf-8
33
#
4-
# Copyright (C) 2010-2023 Arthur de Jong
4+
# Copyright (C) 2010-2024 Arthur de Jong
55
#
66
# This library is free software; you can redistribute it and/or
77
# modify it under the terms of the GNU Lesser General Public
@@ -43,4 +43,4 @@
4343
__all__ = ('get_cc_module', '__version__')
4444

4545
# the version number of the library
46-
__version__ = '1.19'
46+
__version__ = '1.20'

0 commit comments

Comments
 (0)
0