File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 1
- Unreleased changes in development
2
- ---------------------------------
1
+ Version 1.3.0 (September 18, 2022)
2
+ ----------------------------------
3
3
4
4
* Deliverability checks now check for 'v=spf1 -all' SPF records as a way to reject more bad domains.
5
5
* Special use domain names now raise EmailSyntaxError instead of EmailUndeliverableError since they are performed even if check_deliverability is off.
Original file line number Diff line number Diff line change @@ -425,17 +425,15 @@ The package is distributed as a universal wheel and as a source package.
425
425
426
426
To release:
427
427
428
- * Update the version number.
429
- * Follow the steps below to publish source and a universal wheel to pypi.
428
+ * Update CHANGELOG.md.
429
+ * Update the version number in setup.cfg.
430
+ * Make a commit with the new version number.
431
+ * Follow the steps below to publish source and a universal wheel to pypi and tag the release.
430
432
* Make a release at https://github.com/JoshData/python-email-validator/releases/new .
431
433
432
434
``` sh
433
- pip3 install twine
434
- rm -rf dist
435
- python3 setup.py sdist
436
- python3 setup.py bdist_wheel
437
- twine upload dist/* # username: __token__ password: pypi API token
438
- git tag v1.0.XXX # replace with version in setup.cfg
435
+ ./release_to_pypi.sh
436
+ git tag v$( grep version setup.cfg | sed " s/.*= //" )
439
437
git push --tags
440
438
```
441
439
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ pip3 install --upgrade twine
3
+ rm -rf dist
4
+ python3 setup.py sdist
5
+ python3 setup.py bdist_wheel
6
+ twine upload -u __token__ dist/* # username: __token__ password: pypi API token
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = email_validator
3
- version = 1.2.1
4
- description = A robust email syntax and deliverability validation library.
3
+ version = 1.3.0
4
+ description = A robust email address syntax and deliverability validation library.
5
5
long_description = file: README.md
6
6
long_description_content_type = text/markdown
7
7
url = https://github.com/JoshData/python-email-validator
You can’t perform that action at this time.
0 commit comments