Skip to content

chore: prepare for new release #424

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pycqa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
# set up specific python version
- name: Set up Python v3.8
- name: Set up Python v3.9
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.9"
# tooling
- name: Install 'tooling' dependencies
run: pip install -r package/requirements.tooling.txt
Expand All @@ -33,7 +33,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
# checkout repository again!
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ cython_debug/
# rtx/mise
.rtx.toml
.mise.toml
mise.toml

# ruff
.ruff_cache
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013 - 2024 Konsta Vesterinen
Copyright (c) 2013 - 2025 Konsta Vesterinen

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Then,

```python
>>> import validators
>>>
>>>
>>> validators.email('someone@example.com')
True
```
Expand All @@ -36,7 +36,7 @@ True

---

> **_Python 3.8 [reaches EOL in](https://endoflife.date/python) October 2024._**
> **_Python 3.9 [reaches EOL in](https://endoflife.date/python) October 2025._**

<!-- Links -->
[sast-badge]: https://github.com/python-validators/validators/actions/workflows/sast.yaml/badge.svg
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| Version | Supported |
| ---------- | ------------------ |
| `>=0.33.0` | :white_check_mark: |
| `>=0.35.0` | :white_check_mark: |

## Reporting a Vulnerability

Expand Down
1 change: 1 addition & 0 deletions docs/api/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
::: validators.card.discover
::: validators.card.jcb
::: validators.card.mastercard
::: validators.card.mir
::: validators.card.unionpay
::: validators.card.visa
1 change: 1 addition & 0 deletions docs/api/card.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ card
.. autofunction:: discover
.. autofunction:: jcb
.. autofunction:: mastercard
.. autofunction:: mir
.. autofunction:: unionpay
.. autofunction:: visa
1 change: 1 addition & 0 deletions docs/api/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
::: validators.i18n.fr_ssn
::: validators.i18n.ind_aadhar
::: validators.i18n.ind_pan
::: validators.i18n.ru_inn
1 change: 1 addition & 0 deletions docs/api/i18n.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ i18n
.. autofunction:: fr_ssn
.. autofunction:: ind_aadhar
.. autofunction:: ind_pan
.. autofunction:: ru_inn
10 changes: 8 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ require defining a schema or form. I wanted to create a simple validation
library where validating a simple value does not require defining a form or a
schema.

```shell
pip install validators
```

Then,

```python
>>> import validators
>>>
>>>
>>> validators.email('someone@example.com')
True
```
Expand All @@ -30,7 +36,7 @@ True

---

> **_Python 3.8 [reaches EOL in](https://endoflife.date/python) October 2024._**
> **_Python 3.9 [reaches EOL in](https://endoflife.date/python) October 2025._**

<!-- Links -->
[sast-badge]: https://github.com/python-validators/validators/actions/workflows/sast.yaml/badge.svg
Expand Down
12 changes: 9 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ seems to require defining a schema or form. I wanted to create a simple
validation library where validating a simple value does not require
defining a form or a schema.

.. code:: shell

pip install validators

Then,

.. code:: python

>>> import validators
>>>
>>>
>>> validators.email('someone@example.com')
True

Expand All @@ -41,8 +47,8 @@ Resources

--------------

**Python 3.8** `reaches EOL in <https://endoflife.date/python>`__
**October 2024.**
**Python 3.9** `reaches EOL in <https://endoflife.date/python>`__
**October 2025.**

.. raw:: html

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ extra:
provider: mike
default: stable

copyright: Copyright &copy; 2013 - 2024 Konsta Vesterinen
copyright: Copyright &copy; 2013 - 2025 Konsta Vesterinen

nav:
- Home: index.md
Expand Down
3 changes: 0 additions & 3 deletions package/requirements.sphinx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@ pypandoc-binary==1.13 \
--hash=sha256:67c0c7af811bcf3cd4f3221be756a4975ec35b2d7df89d8de4313a8caa2cd54f \
--hash=sha256:9455fdd9521cbf4b56d79a56b806afa94c8c22f3c8ef878536e58d941a70f6d6 \
--hash=sha256:946666388eb79b307d7f497b3b33045ef807750f8e5ef3440e0ba3bbab698044
pytz==2024.1 \
--hash=sha256:2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812 \
--hash=sha256:328171f4e3623139da4983451950b28e95ac706e13f3f2630a879749e7a8b319
pyyaml==6.0.1 \
--hash=sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5 \
--hash=sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc \
Expand Down
35 changes: 4 additions & 31 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = []

Expand Down Expand Up @@ -116,7 +116,7 @@ exclude = [
".venv.dev/",
"site/",
]
pythonVersion = "3.8"
pythonVersion = "3.9"
pythonPlatform = "All"
typeCheckingMode = "strict"

Expand Down Expand Up @@ -144,7 +144,7 @@ lint.select = [
"D",
]
line-length = 100
target-version = "py38"
target-version = "py39"
extend-exclude = ["**/__pycache__", ".pytest_cache", "site"]

[tool.ruff.lint.isort]
Expand All @@ -163,7 +163,7 @@ legacy_tox_ini = """
[tox]
requires =
tox>=4
env_list = lint, type, format, sast, py{38,39,310,311,312}
env_list = lint, type, format, sast, py{39,310,311,312,313}

[testenv:lint]
description = ruff linter
Expand Down
2 changes: 1 addition & 1 deletion src/validators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@
"validator",
)

__version__ = "0.34.0"
__version__ = "0.35.0"