diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 379295d..f9178cb 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - name: Checkout diff --git a/maigret/executors.py b/maigret/executors.py index 6965cbe..613d272 100644 --- a/maigret/executors.py +++ b/maigret/executors.py @@ -1,4 +1,5 @@ import asyncio +import inspect import sys import time from typing import Any, Iterable, List, Callable @@ -113,7 +114,7 @@ class AsyncioProgressbarQueueExecutor(AsyncExecutor): async def increment_progress(self, count): """Update progress by calling the provided progress function.""" if self.progress: - if asyncio.iscoroutinefunction(self.progress): + if inspect.iscoroutinefunction(self.progress): await self.progress(count) else: self.progress(count) @@ -124,7 +125,7 @@ class AsyncioProgressbarQueueExecutor(AsyncExecutor): """Stop the progress tracking.""" if hasattr(self.progress, "close") and self.progress: close_func = self.progress.close - if asyncio.iscoroutinefunction(close_func): + if inspect.iscoroutinefunction(close_func): await close_func() else: close_func() diff --git a/maigret/resources/db_meta.json b/maigret/resources/db_meta.json index 760fa04..0ddc383 100644 --- a/maigret/resources/db_meta.json +++ b/maigret/resources/db_meta.json @@ -1,6 +1,6 @@ { "version": 1, - "updated_at": "2026-04-10T10:28:14Z", + "updated_at": "2026-04-11T13:07:15Z", "sites_count": 3150, "min_maigret_version": "0.6.0", "data_sha256": "72a493fef4eb8958fe8ed0c9b895841ec10c335f1b8e5e9b24b50784be6ad017", diff --git a/pyproject.toml b/pyproject.toml index f57df7b..7716f32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,11 @@ repository = "https://github.com/soxoj/maigret" classifiers = [ "Development Status :: 5 - Production/Stable", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Intended Audience :: Information Technology", "Operating System :: OS Independent", "License :: OSI Approved :: MIT License", diff --git a/pytest.ini b/pytest.ini index 57bc2a8..5014b80 100644 --- a/pytest.ini +++ b/pytest.ini @@ -3,4 +3,5 @@ filterwarnings = error ignore::UserWarning + ignore:codecs.open\(\) is deprecated:DeprecationWarning:xmind.core.saver asyncio_mode=auto \ No newline at end of file diff --git a/sites.md b/sites.md index 7d6a6ab..1933b57 100644 --- a/sites.md +++ b/sites.md @@ -3154,7 +3154,7 @@ Rank data fetched from Majestic Million by domains. 1. ![](https://www.google.com/s2/favicons?domain=https://flarum.es) [flarum.es (https://flarum.es)](https://flarum.es)*: top 100M, es, forum* 1. ![](https://www.google.com/s2/favicons?domain=https://forum.fibra.click) [forum.fibra.click (https://forum.fibra.click)](https://forum.fibra.click)*: top 100M, forum, it* -The list was updated at (2026-04-10) +The list was updated at (2026-04-11) ## Statistics Enabled/total sites: 2589/3150 = 82.19%