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

Skip to content

Commit fa455fc

Browse files
committed
Get files ready for 1.19 release
1 parent 3191b4c commit fa455fc

11 files changed

+429
-6
lines changed

ChangeLog

Lines changed: 353 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,356 @@
1+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [3191b4c] MANIFEST.in: Ensure all files are included in source
4+
archive
5+
6+
Fixes b1dc313 Fixes 90044e2
7+
8+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
9+
10+
* [3947a54] stdnum/by/portal.nalog.gov.by.crt, stdnum/by/unp.py:
11+
Remove obsolete intermediate certificate
12+
13+
The portal.nalog.gov.by web no longer has an incomplete
14+
certificate chain.
15+
16+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
17+
18+
* [7761e42] stdnum/numdb.py: Use importlib.resource in place of
19+
deprecated pkg_resources
20+
21+
Closes https://github.com/arthurdejong/python-stdnum/issues/412
22+
Closes https://github.com/arthurdejong/python-stdnum/pull/413
23+
24+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
25+
26+
* [f6edcc5] tests/test_do_rnc.py: Avoid the deprecated
27+
assertRegexpMatches function
28+
29+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
30+
31+
* [895f092] setup.cfg: Rename license_file option in setup.cfg
32+
33+
It seems the old option wasn't working with all versions of
34+
setuptools anyway.
35+
36+
See
37+
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
38+
39+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
40+
41+
* [3126f96] stdnum/by/unp.py, tests/test_by_unp.py: Update Belarusian
42+
UNP online check
43+
44+
The API for the online check for Belarusian UNP numbers at
45+
https://www.portal.nalog.gov.by/grp/getData has changed some
46+
small details of the API.
47+
48+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
49+
50+
* [88d1dca] tests/test_de_handelsregisternummer.py: Replace test
51+
number for German company registry
52+
53+
The number seems to be no longer valid breaking the online tests.
54+
55+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
56+
57+
* [6e56f3c] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
58+
stdnum/cn/loc.dat, stdnum/gs1_ai.dat, stdnum/iban.dat,
59+
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat,
60+
stdnum/nz/banks.dat, stdnum/oui.dat, tests/test_be_iban.doctest,
61+
update/oui.py: Update database files
62+
63+
This also modifies the OUI update script because the website
64+
has changed to HTTPS and is sometimes very slow.
65+
66+
The Belgian Commerzbank no longer has a registration and a bank
67+
account number in the tests used that bank.
68+
69+
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
70+
71+
* [0aa0b85] update/eu_nace.py: Remove EU NACE update script
72+
73+
The website that publishes the NACE catalogue has changed and
74+
a complete re-write of the script would be necessary. The data
75+
file hasn't changed since 2017 so is also unlikely to change
76+
until it is going to be replaced by NACE rev. 2.1 in 2025.
77+
78+
See https://ec.europa.eu/eurostat/web/nace
79+
80+
The NACE rev 2 specification can now be found here:
81+
https://showvoc.op.europa.eu/#/datasets/ESTAT_Statistical_Classification_of_Economic_Activities_in_the_European_Community_Rev._2/data
82+
83+
The NACE rev 2.1 specification can now be found here:
84+
https://showvoc.op.europa.eu/#/datasets/ESTAT_Statistical_Classification_of_Economic_Activities_in_the_European_Community_Rev._2.1._%28NACE_2.1%29/data
85+
86+
In both cases a ZIP file with RDF metadata can be downloaded
87+
(but the web applciation also exposes some simpler JSON APIs).
88+
89+
2023-08-13 Arthur de Jong <arthur@arthurdejong.org>
90+
91+
* [f58e08d] stdnum/eu/oss.py, stdnum/eu/vat.py,
92+
tests/test_eu_oss.doctest, tests/test_eu_vat.doctest: Validate
93+
European VAT numbers with EU or IM prefix
94+
95+
Closes https://github.com/arthurdejong/python-stdnum/pull/417
96+
97+
2023-06-30 Blaž Bregar <blaz@vexo.systems>
98+
99+
* [d0f4c1a] stdnum/si/__init__.py, stdnum/si/maticna.py,
100+
tests/test_si_maticna.doctest: Add Slovenian Corporate Registration
101+
Number
102+
103+
Closes https://github.com/arthurdejong/python-stdnum/pull/414
104+
105+
2023-08-06 Arthur de Jong <arthur@arthurdejong.org>
106+
107+
* [b8ee830] .github/workflows/test.yml, scripts/check_headers.py,
108+
tox.ini: Extend license check to file header check
109+
110+
This also checks that the file name referenced in the file header
111+
is correct.
112+
113+
2023-08-06 Arthur de Jong <arthur@arthurdejong.org>
114+
115+
* [ef49f49] stdnum/be/bis.py, stdnum/be/nn.py,
116+
stdnum/de/stnr.py, stdnum/dz/nif.py, stdnum/fi/alv.py,
117+
stdnum/gb/utr.py, stdnum/hr/oib.py, stdnum/md/idno.py,
118+
stdnum/pl/regon.py, stdnum/py/ruc.py, stdnum/sk/dph.py,
119+
stdnum/tn/mf.py, stdnum/ua/edrpou.py, stdnum/ua/rntrc.py,
120+
stdnum/vn/mst.py, stdnum/za/idnr.py, tests/test_al_nipt.doctest,
121+
tests/test_gb_sedol.doctest, tests/test_iso6346.doctest,
122+
tests/test_iso7064.doctest, tests/test_th_moa.doctest,
123+
tests/test_tn_mf.doctest, tests/test_ve_rif.doctest: Fix file
124+
headers
125+
126+
This improves consistency across files and fixes some files that
127+
had an incorrect file name reference.
128+
129+
2023-07-30 Arthur de Jong <arthur@arthurdejong.org>
130+
131+
* [3848318] stdnum/ca/sin.py: Validate first digit of Canadian SIN
132+
133+
See
134+
http://www.straightlineinternational.com/docs/vaildating_canadian_sin.pdf
135+
See
136+
https://lists.arthurdejong.org/python-stdnum-users/2023/msg00000.html
137+
138+
2023-06-20 Jeff Horemans <jeff.horemans@vortex-financials.be>
139+
140+
* [be33a80] stdnum/be/bis.py, stdnum/be/nn.py,
141+
tests/test_be_bis.doctest, tests/test_be_nn.doctest: Add Belgian
142+
BIS Number
143+
144+
Closes https://github.com/arthurdejong/python-stdnum/pull/418
145+
146+
2023-06-19 Arthur de Jong <arthur@arthurdejong.org>
147+
148+
* [8ce4a47] .github/workflows/test.yml: Run Python 2.7 tests in
149+
a container for GitHub Actions
150+
151+
See https://github.com/actions/setup-python/issues/672
152+
153+
2023-06-13 Jeff Horemans <jeff.horemans@vortex-financials.be>
154+
155+
* [311fd56] stdnum/be/nn.py, tests/test_be_nn.doctest: Handle
156+
(partially) unknown birthdate of Belgian National Number
157+
158+
This adds documentation for the special cases regarding birth
159+
dates embedded in the number, allows for date parts to be unknown
160+
and adds functions for getting the year and month.
161+
162+
Closes https://github.com/arthurdejong/python-stdnum/pull/416
163+
164+
2023-06-01 Chales Horn <charles.horn@gmail.com>
165+
166+
* [7d3ddab] stdnum/isbn.py, stdnum/issn.py: Minor ISSN and ISBN
167+
documentation fixes
168+
169+
Fix a comment that claimed incorrect ISSN length and use slightly
170+
more consistent terminology around check digits in ISSN and ISBN.
171+
172+
Closes https://github.com/arthurdejong/python-stdnum/pull/415
173+
174+
2023-05-12 Arthur de Jong <arthur@arthurdejong.org>
175+
176+
* [90044e2] .github/workflows/test.yml,
177+
scripts/check_license_headers.py, tox.ini: Add automated checking
178+
for correct license header
179+
180+
2023-01-28 Leandro Regueiro <leandro.regueiro@gmail.com>
181+
182+
* [62d15e9] stdnum/gn/__init__.py, stdnum/gn/nifp.py,
183+
tests/test_gn_nifp.doctest: Add support for Guinea TIN
184+
185+
Closes https://github.com/arthurdejong/python-stdnum/issues/384
186+
Closes https://github.com/arthurdejong/python-stdnum/pull/386
187+
188+
2023-02-24 Victor <victor@calidae.com>
189+
190+
* [96abcfe] stdnum/es/postal_code.py: Add Spanish postcode validator
191+
192+
Closes https://github.com/arthurdejong/python-stdnum/pull/401
193+
194+
2023-02-13 mjturt <maks.turtiainen@gmail.com>
195+
196+
* [36858cc] stdnum/fi/hetu.py, tests/test_fi_hetu.doctest: Add
197+
support for Finland HETU new century indicating signs
198+
199+
More information at
200+
https://dvv.fi/en/reform-of-personal-identity-code
201+
202+
Cloess https://github.com/arthurdejong/python-stdnum/pull/396
203+
204+
2023-01-05 Jeff Horemans <jeff.horemans@vortex-financials.be>
205+
206+
* [42d2792] stdnum/be/nn.py, tests/test_be_nn.doctest: Add
207+
functionality to get gender from Belgian National Number
208+
209+
This also extends the documentation for the number.
210+
211+
Closes https://github.com/arthurdejong/python-stdnum/pull/347/files
212+
213+
2023-03-06 RaduBorzea <101399404+RaduBorzea@users.noreply.github.com>
214+
215+
* [cf14a9f] stdnum/ro/cnp.py: Add get_county() function to
216+
Romanian CNP
217+
218+
This also validates the county part of the number.
219+
220+
Closes https://github.com/arthurdejong/python-stdnum/pull/407
221+
222+
2023-03-19 Arthur de Jong <arthur@arthurdejong.org>
223+
224+
* [a8b6573] docs/conf.py, setup.cfg, tox.ini: Ensure flake8 is
225+
run on all Python files
226+
227+
This also fixes code style fixes in the Sphinx configuration file.
228+
229+
2023-03-18 Arthur de Jong <arthur@arthurdejong.org>
230+
231+
* [7af50b7] .github/workflows/test.yml, setup.py, tox.ini: Add
232+
support for Python 3.11
233+
234+
2023-03-18 Arthur de Jong <arthur@arthurdejong.org>
235+
236+
* [8498b37] stdnum/gs1_128.py: Fix date formatting on PyPy 2.7
237+
238+
The original way of calling strftime was likely an artifact of
239+
Python 2.6 support.
240+
241+
Fixes 7e84c05
242+
243+
2023-03-18 Arthur de Jong <arthur@arthurdejong.org>
244+
245+
* [7e84c05] stdnum/gs1_128.py, stdnum/gs1_ai.dat,
246+
tests/test_gs1_128.doctest, update/gs1_ai.py: Extend date parsing
247+
in GS1-128
248+
249+
Some new AIs have new date formats or have changed the way
250+
optional components of formats are defined.
251+
252+
2023-03-09 Dimitri Papadopoulos
253+
<3234522+DimitriPapadopoulos@users.noreply.github.com>
254+
255+
* [bf1bdfe] stdnum/iban.dat: Update IBAN database file
256+
257+
Closes https://github.com/arthurdejong/python-stdnum/pull/409
258+
259+
2023-03-18 Arthur de Jong <arthur@arthurdejong.org>
260+
261+
* [a09a7ce] stdnum/al/nipt.py, tests/test_al_nipt.doctest: Fix
262+
Albanian tax number validation
263+
264+
This extends the description of the Albanian NIPT (NUIS) number
265+
with information on the structure of the number. The first
266+
character was previously limited between J and L but this letter
267+
indicates a decade and the number is also used for individuals
268+
to where it indicates a birth date.
269+
270+
Thanks Julien Launois for pointing this out.
271+
272+
Source:
273+
https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/Albania-TIN.pdf
274+
275+
Fixes 3db826c Closes
276+
https://github.com/arthurdejong/python-stdnum/pull/402
277+
278+
2023-03-13 Ali-Akber Saifee <ali@indydevs.org>
279+
280+
* [031a249] stdnum/sg/uen.py: Fix typo in UEN docstring
281+
282+
2023-01-02 Arthur de Jong <arthur@arthurdejong.org>
283+
284+
* [cf22705] online_check/stdnum.wsgi, tox.ini: Extend number
285+
properties to show in online check
286+
287+
This also ensures that flake8 is run on the WSGI script.
288+
289+
2022-10-09 Leandro Regueiro <leandro.regueiro@gmail.com>
290+
291+
* [6d366e3] stdnum/eg/__init__.py, stdnum/eg/tn.py,
292+
tests/test_eg_tn.doctest: Add support for Egypt TIN
293+
294+
This also convertis Arabic digits to ASCII digits.
295+
296+
Closes https://github.com/arthurdejong/python-stdnum/issues/225
297+
Closes https://github.com/arthurdejong/python-stdnum/pull/334
298+
299+
2022-12-30 Arthur de Jong <arthur@arthurdejong.org>
300+
301+
* [b1dc313] CONTRIBUTING.md, docs/contributing.rst, docs/index.rst:
302+
Add initial CONTRIBUTING.md file
303+
304+
Initial description of the information needed for adding new
305+
number formats and some coding and testing guidelines.
306+
307+
2022-12-05 Dimitri Papadopoulos
308+
<3234522+DimitriPapadopoulos@users.noreply.github.com>
309+
310+
* [df894c3] stdnum/ch/uid.py, stdnum/gh/tin.py: Fix typos found
311+
by codespell
312+
313+
Closes https://github.com/arthurdejong/python-stdnum/pull/344
314+
315+
2022-12-12 Arthur de Jong <arthur@arthurdejong.org>
316+
317+
* [4f8155c] .github/workflows/test.yml: Run Python 3.5 and 3.6
318+
GitHub tests on older Ubuntu
319+
320+
The ubuntu-latest now points to ubuntu-22.04 instead of
321+
ubuntu-20.04 before.
322+
323+
This also switches the PyPy version to test with to 3.9.
324+
325+
2022-11-29 valeriko <valerij.koort@gmail.com>
326+
327+
* [74d854f] stdnum/ee/ik.py: Fix a typo
328+
329+
Clocses https://github.com/arthurdejong/python-stdnum/pull/341
330+
331+
2022-11-28 Arthur de Jong <arthur@arthurdejong.org>
332+
333+
* [7a91a98] tox.ini: Avoid newer flake8
334+
335+
The new 6.0.0 contains a number of backwards incompatible changes
336+
for which plugins need to be updated and configuration needs to
337+
be updated.
338+
339+
Sadly the maintainer no longer accepts contributions or discussion
340+
See https://github.com/PyCQA/flake8/issues/1760
341+
342+
2022-11-13 Arthur de Jong <arthur@arthurdejong.org>
343+
344+
* [60a90ed] ChangeLog, NEWS, README.md, docs/index.rst,
345+
docs/stdnum.be.nn.rst, docs/stdnum.cfi.rst,
346+
docs/stdnum.cz.bankaccount.rst, docs/stdnum.dz.nif.rst,
347+
docs/stdnum.fo.vn.rst, docs/stdnum.gh.tin.rst,
348+
docs/stdnum.ke.pin.rst, docs/stdnum.ma.ice.rst,
349+
docs/stdnum.me.pib.rst, docs/stdnum.mk.edb.rst,
350+
docs/stdnum.pk.cnic.rst, docs/stdnum.si.emso.rst,
351+
docs/stdnum.tn.mf.rst, stdnum/__init__.py, stdnum/gh/tin.py,
352+
tox.ini: Get files ready for 1.18 release
353+
1354
2022-11-13 Arthur de Jong <arthur@arthurdejong.org>
2355

3356
* [31b2694] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,

NEWS

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
changes from 1.18 to 1.19
2+
-------------------------
3+
4+
* Add modules for the following number formats:
5+
6+
- Tax Registration Number (الرقم الضريبي, Egypt tax number) (thanks Leandro Regueiro)
7+
- Postcode (the Spanish postal code) (thanks Víctor)
8+
- NIFp (Numéro d'Identification Fiscale Permanent, Guinea tax number)
9+
(thanks Leandro Regueiro)
10+
- BIS (Belgian BIS number) (thanks Jeff Horemans)
11+
- Matična številka poslovnega registra (Corporate Registration Number) (thanks Blaž Bregar)
12+
- OSS (European VAT on e-Commerce - One Stop Shop) (thanks Sergi Almacellas Abellana)
13+
14+
* Extend the validation of the Albanian NIPT (NUIS) number (thanks Julien Launois)
15+
* Support different date formats in parsing GS1-128 application identifiers
16+
* Add get_county() function to Romanian CNP (thanks RaduBorzea)
17+
* Add functionality to get gender from Belgian National Number (thanks Jeff Horemans)
18+
* Add support for Finland HETU new century indicating signs (thanks Maks Turtiainen)
19+
* Add functionality to get (partial) birth date from Belgian National Number
20+
(thanks Jeff Horemans)
21+
* Extend validation of Canadian SIN (thanks Marcel Lecker)
22+
* Fix Belarusian UNP online validation
23+
* Various typo and documentation fixes (thanks valeriko, Dimitri Papadopoulos,
24+
Ali-Akber Saifee and Chales Horn)
25+
* Add contribution information to documentation
26+
* Test suite improvements (including checking file headers)
27+
28+
129
changes from 1.17 to 1.18
230
-------------------------
331

0 commit comments

Comments
 (0)
0