Skip to content

Commit 6bd8751

Browse files
committed
maint: improves state of package development
- `setup.py` is auto generated by `poetry build` - `pip install -e .` and editable install is supported - minimum required python version is now 3.8 - better development dependency grouping - adds more option to linting, formatting & type checking - fix missing git tags for minor version - `MANIFEST.in` is now covered by `pyproject.toml` - `CHANGES.md` replaces `CHANGES.rst` **Related items** *Issues* - Closes #129 - Closes #209
1 parent ddd8743 commit 6bd8751

File tree

7 files changed

+214
-249
lines changed

7 files changed

+214
-249
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
python-version: ["3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1717
steps:
1818
#----------------------------------------------
1919
# check-out repo and set-up python

CHANGES.rst renamed to CHANGES.md

Lines changed: 39 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,211 +1,147 @@
1-
Changelog
2-
---------
1+
# Changelog
32

4-
0.20.0 (2022-06-05)
5-
^^^^^^^^^^^^^^^^^^^
3+
## 0.20.0 (2022-06-05)
64

75
- Added ipv4 digit lenghts validation (#191, pull request courtesy of Norbiox)
86
- Fixes error with international URLs that have more than 2 hyphens (#184, pull request courtesy of automationator)
97

10-
11-
0.19.0 (2022-05-04)
12-
^^^^^^^^^^^^^^^^^^^
8+
## 0.19.0 (2022-05-04)
139

1410
- Dropped py34 support
1511
- Improve IPv6 validation (#201, pull request courtesy of SimonIT)
1612

17-
18-
0.18.2 (2020-12-18)
19-
^^^^^^^^^^^^^^^^^^^
13+
## 0.18.2 (2020-12-18)
2014

2115
- Implement actual validation for old style BTC addresses including checksumming (#182, pull request courtesy of tpatja)
2216
- Use a regex to guesstimate validity of new segwit BTC addresses (#182, pull request courtesy of tpatja)
2317

24-
25-
0.18.1 (2020-09-03)
26-
^^^^^^^^^^^^^^^^^^^
18+
## 0.18.1 (2020-09-03)
2719

2820
- Made uuid validator accept UUID objects (#174, pull request courtesy of Letsch22)
2921

30-
31-
0.18.0 (2020-08-19)
32-
^^^^^^^^^^^^^^^^^^^
22+
## 0.18.0 (2020-08-19)
3323

3424
- Added bitcoin address validator (#166, pull request courtesy of daveusa31)
3525

36-
37-
0.17.1 (2020-08-03)
38-
^^^^^^^^^^^^^^^^^^^
26+
## 0.17.1 (2020-08-03)
3927

4028
- Fixed python_requires using twine
4129

42-
43-
0.17.0 (2020-08-02)
44-
^^^^^^^^^^^^^^^^^^^
30+
## 0.17.0 (2020-08-02)
4531

4632
- Added python_requires='>=3.4' to setup.py (#163, pull request courtesy of vphilippon)
4733
- Fixed URL validator ip_last_octet regex (#145, pull request courtesy of ghost)
4834

49-
50-
0.16.0 (2020-07-16)
51-
^^^^^^^^^^^^^^^^^^^
35+
## 0.16.0 (2020-07-16)
5236

5337
- Added support for emojis and more IDNA URLs (#161, pull request courtesy of automationator)
5438

55-
56-
0.15.0 (2020-05-07)
57-
^^^^^^^^^^^^^^^^^^^
39+
## 0.15.0 (2020-05-07)
5840

5941
- Added bank card validators (#157, pull request courtesy of TimonPeng)
6042

61-
62-
0.14.3 (2020-02-04)
63-
^^^^^^^^^^^^^^^^^^^
43+
## 0.14.3 (2020-04-02)
6444

6545
- Handle None values gracefully in domain validator (#144, pull request courtesy reahaas)
6646
- Local part of the email address should be less or equal than 64 bytes (#147, pull request courtesy mondeja)
6747
- Removed py27 support
6848
- Removed pypy2 support
6949

70-
71-
0.14.2 (2020-01-24)
72-
^^^^^^^^^^^^^^^^^^^
50+
## 0.14.2 (2020-01-24)
7351

7452
- Made domain validation case-insensitive (#136, pull request courtesy ehmkah)
7553

76-
77-
0.14.1 (2019-12-04)
78-
^^^^^^^^^^^^^^^^^^^
54+
## 0.14.1 (2019-12-04)
7955

8056
- Updated domain validator regex to not allow numeric only TLDs (#133, pull request courtesy jmeridth)
8157
- Allow for idna encoded domains (#133, pull request courtesy jmeridth)
8258

83-
84-
0.14.0 (2019-08-21)
85-
^^^^^^^^^^^^^^^^^^^
59+
## 0.14.0 (2019-08-21)
8660

8761
- Added new validators ``ipv4_cidr``, ``ipv6_cidr`` (#117, pull request courtesy woodruffw)
8862

89-
90-
0.13.0 (2019-05-20)
91-
^^^^^^^^^^^^^^^^^^^
63+
## 0.13.0 (2019-05-20)
9264

9365
- Added new validator: ``es_doi``, ``es_nif``, ``es_cif``, ``es_nie`` (#121, pull request courtesy kingbuzzman)
9466

95-
96-
0.12.6 (2019-05-08)
97-
^^^^^^^^^^^^^^^^^^^
67+
## 0.12.6 (2019-05-08)
9868

9969
- Fixed domain validator for single character domains (#118, pull request courtesy kingbuzzman)
10070

101-
102-
0.12.5 (2019-04-15)
103-
^^^^^^^^^^^^^^^^^^^
71+
## 0.12.5 (2019-04-15)
10472

10573
- Fixed py37 support (#113, pull request courtesy agiletechnologist)
10674

107-
108-
0.12.4 (2019-01-02)
109-
^^^^^^^^^^^^^^^^^^^
75+
## 0.12.4 (2019-01-02)
11076

11177
- Use inspect.getfullargspec() in py3 (#110, pull request courtesy riconnon)
11278

113-
114-
0.12.3 (2018-11-13)
115-
^^^^^^^^^^^^^^^^^^^
79+
## 0.12.3 (2018-11-13)
11680

11781
- Added `allow_temporal_ssn` parameter to fi_ssn validator (#97, pull request courtesy quantus)
11882
- Remove py33 support
11983

120-
121-
0.12.2 (2018-06-03)
122-
^^^^^^^^^^^^^^^^^^^
84+
## 0.12.2 (2018-06-03)
12385

12486
- Fixed IPv4 formatted IP address returning True on ipv6 (#85, pull request courtesy johndlong)
12587
- Fixed IPv6 address parsing (#83, pull request courtesy JulianKahnert)
12688
- Fixed domain validator for international domains and certain edge cases (#76, pull request courtesy Ni-Knight)
12789

128-
129-
0.12.1 (2018-01-30)
130-
^^^^^^^^^^^^^^^^^^^
90+
## 0.12.1 (2018-01-30)
13191

13292
- Fixed IDNA encoded TLDs in domain validator (#75, pull request courtesy piewpiew)
13393
- Fixed URL validator for URLs with invalid characters in userinfo part (#69, pull request courtesy timb07)
13494

135-
136-
0.12.0 (2017-06-03)
137-
^^^^^^^^^^^^^^^^^^^
95+
## 0.12.0 (2017-06-03)
13896

13997
- Added hash validators for md5, sha1, sha224, sha256 and sha512
14098
- Made ipv6 validator support IPv4-mapped IPv6 addresses
14199

142-
143-
0.11.3 (2017-03-27)
144-
^^^^^^^^^^^^^^^^^^^
100+
## 0.11.3 (2017-03-27)
145101

146102
- Fixed URL validator for URLs containing localhost (#51, pull request courtesy vladimirdotk)
147103

148-
149-
0.11.2 (2017-01-08)
150-
^^^^^^^^^^^^^^^^^^^
104+
## 0.11.2 (2017-01-08)
151105

152106
- Fixed URL validator for urls with query parameters but without path (#44, pull request courtesy zjjw)
153107

154-
155-
0.11.1 (2016-11-19)
156-
^^^^^^^^^^^^^^^^^^^
108+
## 0.11.1 (2016-11-19)
157109

158110
- Fixed pyp2rpm build problem (#37, pull request courtesy BOPOHA)
159111

160-
161-
0.11.0 (2016-08-30)
162-
^^^^^^^^^^^^^^^^^^^
112+
## 0.11.0 (2016-08-30)
163113

164114
- Fixed public url validation (#29)
165115
- Made URL validator case insensitive (#27)
166116
- Drop Python 2.6 support
167117

168-
169-
0.10.3 (2016-06-13)
170-
^^^^^^^^^^^^^^^^^^^
118+
## 0.10.3 (2016-06-13)
171119

172120
- Added ``public`` parameter to url validator (#26, pull request courtesy Iconceicao)
173121

174-
175-
0.10.2 (2016-06-11)
176-
^^^^^^^^^^^^^^^^^^^
122+
## 0.10.2 (2016-06-11)
177123

178124
- Fixed various URL validation issues
179125

180-
181-
0.10.1 (2016-04-09)
182-
^^^^^^^^^^^^^^^^^^^
126+
## 0.10.1 (2016-04-09)
183127

184128
- Fixed domain name validation for numeric domain names (#21, pull request courtesy shaunpud)
185129
- Fixed IBAN validation for Norwegian and Belgian IBANs (#17, pull request courtesy mboelens91)
186130

187-
188-
0.10.0 (2016-01-09)
189-
^^^^^^^^^^^^^^^^^^^
131+
## 0.10.0 (2016-01-09)
190132

191133
- Added support for internationalized domain names in ``domain`` validator
192134

193-
194-
0.9.0 (2015-10-10)
195-
^^^^^^^^^^^^^^^^^^
135+
## 0.9.0 (2015-10-10)
196136

197137
- Added new validator: ``domain``
198138
- Added flake8 and isort checks in travis config
199139

200-
201-
0.8.0 (2015-06-24)
202-
^^^^^^^^^^^^^^^^^^
140+
## 0.8.0 (2015-06-24)
203141

204142
- Added new validator: ``iban``
205143

206-
207-
0.7.0 (2014-09-07)
208-
^^^^^^^^^^^^^^^^^^
144+
## 0.7.0 (2014-09-07)
209145

210146
- Fixed errors in code examples.
211147
- Fixed ``TypeError`` when using ``between`` validator with ``datetime`` objects
@@ -215,39 +151,28 @@ Changelog
215151
- Fixed ``truthy`` validator to work like it's name suggests. Previously it
216152
worked like ``falsy``.
217153

218-
0.6.0 (2014-06-25)
219-
^^^^^^^^^^^^^^^^^^
154+
## 0.6.0 (2014-06-25)
220155

221156
- Added new validator: ``slug``
222157

223-
224-
0.5.0 (2013-10-31)
225-
^^^^^^^^^^^^^^^^^^
158+
## 0.5.0 (2013-10-31)
226159

227160
- Renamed ``finnish_business_id`` to ``fi_business_id``
228161
- Added new validator: ``fi_ssn``
229162

230-
231-
0.4.0 (2013-10-29)
232-
^^^^^^^^^^^^^^^^^^
163+
## 0.4.0 (2013-10-29)
233164

234165
- Added new validator: ``finnish_business_id``
235166

236-
237-
0.3.0 (2013-10-27)
238-
^^^^^^^^^^^^^^^^^^
167+
## 0.3.0 (2013-10-27)
239168

240169
- ``number_range`` -> ``between``
241170

242-
243-
0.2.0 (2013-10-22)
244-
^^^^^^^^^^^^^^^^^^
171+
## 0.2.0 (2013-10-22)
245172

246173
- Various new validators: ``ipv4``, ``ipv6``, ``length``, ``number_range``,
247174
``mac_address``, ``url``, ``uuid``
248175

249-
250-
0.1.0 (2013-10-18)
251-
^^^^^^^^^^^^^^^^^^
176+
## 0.1.0 (2013-10-18)
252177

253178
- Initial public release

MANIFEST.in

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)