Commit graph

22 commits

Author SHA1 Message Date
Chris Mayo
86c3071405 Use pytest.mark.parametrize instead of parameterized 2024-09-03 19:27:13 +01:00
Chris Mayo
e27d15b05d Add cryptography to tool.hatch.envs.test
Needed since:
219c17aa6 ("Use cryptography to generate certificate in TestHttps", 2023-11-07)
2024-08-27 19:43:40 +01:00
Chris Mayo
b6e2b4a0de Add Python 3.13 to supported versions 2024-08-21 19:34:37 +01:00
Chris Mayo
284969e7bb Raise minimum Python version to 3.9 2023-11-27 19:22:08 +00:00
Chris Mayo
9e9c4ff261 Installing from tagged commits needs setuptools-scm >= 7.1.0 2023-09-18 19:25:32 +01:00
Chris Mayo
e793e64c78 Add Python 3.12 2023-09-06 19:22:04 +01:00
Chris Mayo
b3429c4759 Remove support for nntp and telnet
Python is dropping nntplib and telnetlib.
2023-08-28 19:24:57 +01:00
Chris Mayo
91105d722a
Merge pull request #716 from cjmayo/py38
Raise minimum Python version to 3.8
2023-01-30 19:36:11 +00:00
Chris Mayo
98d32a11a7 Re-enable support for installing git archives
setuptools_scm 7 includes git archive support. hatch-vcs
currently requires a minimium of 6.4, ensure 7 is installed.
2023-01-17 19:26:24 +00:00
Chris Mayo
643364a655 Raise minimum Python version to 3.8 2023-01-17 19:23:29 +00:00
Chris Mayo
aa79f5a600 Increase minimum Requests version to 2.20
2.20 fixes CVE-2018-18074.
2022-12-05 19:22:35 +00:00
Chris Mayo
f35448f8ef Increase minimum Requests version to 2.19
With Python 3.7 and Requests 2.4.0 on Ubuntu 20.04 there are two test
failures; reasons not immediately clear. There is a warning for the use
of ABCs from collections and not collections.abc. That will cause an
exception on Python 3.10 and is fixed in Requests 2.19.0.
2022-11-30 19:21:06 +00:00
Chris Mayo
169e327d50 Add Python 3.11 2022-10-25 19:21:39 +01:00
Chris Mayo
16fa5beda8 Install create.sql to examples
Creates database table for SQL logger output.

Fixes Ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/linkchecker/+bug/323123
2022-09-13 19:32:06 +01:00
Chris Mayo
38dea6b7f4 Fix install with pip git+https
pip only uses the wheel target.

Save building the metadata twice as a result in GitHub workflows and
update documentation.md.
2022-09-13 19:32:06 +01:00
Chris Mayo
b6a7f2d313 Don't need hatch to build documentation
This is a partial revert of:
47d1015e ("Replace setuptools and setup.py with hatch and pyproject.toml", 2022-09-05)

Also hatch is an option to run tests.
2022-09-13 19:32:06 +01:00
Chris Mayo
af265f3d52 Write all metadata used to _release.py
Enables running without installing.
Removes use of importlib.metadata.
2022-09-13 19:32:06 +01:00
Chris Mayo
579c767d28 .gitignore cannot be excluded from sdist 2022-09-06 19:23:52 +01:00
Chris Mayo
0a809af162 Remove old windows build scripts 2022-09-05 19:30:38 +01:00
Chris Mayo
e91f9b4100 Add hatch test environment 2022-09-05 19:24:01 +01:00
Chris Mayo
1975613b44 Remove MANIFEST.in
All files stored in Git are included in the sdist, unless excluded with
tool.hatch.build.exclude.

Build artifacts listed in tool.hatch.build.artifacts are also included.
2022-09-05 19:24:01 +01:00
Chris Mayo
47d1015e00 Replace setuptools and setup.py with hatch and pyproject.toml 2022-09-05 19:24:01 +01:00