-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (75 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
79 lines (75 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[project]
name = "feedsearch-crawler"
version = "2.0.1"
description = "Search sites for RSS, Atom, and JSON feeds"
authors = [
{name = "David Beath", email = "davidgbeath@gmail.com"}
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/DBeath/feedsearch-crawler"
requires-python = ">=3.12"
keywords = [
"RSS",
"Search",
"Crawler",
"Feeds",
"Atom"
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Typing :: Typed",
"Framework :: AsyncIO",
]
packages = [
{ include = "feedsearch_crawler" },
]
dependencies = [
"aiohttp>3.13.0",
"beautifulsoup4>=4.14.2",
"aiodns>=3.2.0",
"uvloop>=0.19.0",
"w3lib>=2.1.2",
"feedparser>=6.0.12",
"brotlipy>=0.7.0",
"python-dateutil>=2.9.0.post0",
"yarl>=1.22.0",
"asyncio>=3.4.3",
]
[project.scripts]
feedsearch-crawler = "feedsearch_crawler:main"
[dependency-groups]
dev = [
"jsonschema>=4.25.1",
"pytest>=8.4.1",
"pytest-asyncio>=1.1.0",
"pytest-cov>=6.0.0",
"pytest-xdist>=3.8.0",
"ruff>=0.12.9",
]
[build-system]
requires = ["uv_build >= 0.7.19, <0.9.0"]
build-backend = "uv_build"
[tool.pytest.ini_options]
testpaths = ["tests"]
# Note: -n auto enables parallel test execution but may cause pytest to hang on exit
# This is a known pytest-xdist issue. Use 'timeout <seconds> uv run pytest' as workaround
# addopts = "-n auto"
filterwarnings = [
# Ignore AsyncMock warnings from unittest.mock and related Python stdlib modules (Python 3.12 known issue)
# These warnings occur when Mock objects with AsyncMock attributes are garbage collected
"ignore::RuntimeWarning:unittest.mock",
"ignore::RuntimeWarning:_pytest.stash",
"ignore:coroutine.*was never awaited:RuntimeWarning",
# Ignore feedparser deprecation warnings (external library)
"ignore::DeprecationWarning:feedparser",
]