aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--newspipe/crawler/default_crawler.py2
-rw-r--r--newspipe/lib/data.py2
-rwxr-xr-xnewspipe/lib/misc_utils.py2
-rw-r--r--newspipe/models/__init__.py2
-rw-r--r--newspipe/models/article.py2
-rw-r--r--newspipe/models/bookmark.py2
-rw-r--r--newspipe/models/feed.py2
-rw-r--r--newspipe/models/role.py2
-rw-r--r--newspipe/models/user.py2
-rw-r--r--newspipe/notifications/emails.py2
-rw-r--r--newspipe/notifications/notifications.py2
-rw-r--r--newspipe/static/js/articles.js2
-rw-r--r--newspipe/web/forms.py2
-rw-r--r--newspipe/web/views/bookmark.py2
-rw-r--r--poetry.lock64
-rw-r--r--pyproject.toml4
-rwxr-xr-xrunserver.py2
18 files changed, 50 insertions, 50 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 74525c0f..8f310cf2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -28,6 +28,6 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/trailofbits/pip-audit
- rev: v2.4.12
+ rev: v2.4.13
hooks:
- id: pip-audit
diff --git a/newspipe/crawler/default_crawler.py b/newspipe/crawler/default_crawler.py
index 440c5088..844fb0fa 100644
--- a/newspipe/crawler/default_crawler.py
+++ b/newspipe/crawler/default_crawler.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/lib/data.py b/newspipe/lib/data.py
index dbb9fc42..dbcd2a45 100644
--- a/newspipe/lib/data.py
+++ b/newspipe/lib/data.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/lib/misc_utils.py b/newspipe/lib/misc_utils.py
index 1d8d40dc..4f974a53 100755
--- a/newspipe/lib/misc_utils.py
+++ b/newspipe/lib/misc_utils.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/models/__init__.py b/newspipe/models/__init__.py
index 8389f6ef..a51266d5 100644
--- a/newspipe/models/__init__.py
+++ b/newspipe/models/__init__.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/models/article.py b/newspipe/models/article.py
index 8d0bf5d1..9cb4b135 100644
--- a/newspipe/models/article.py
+++ b/newspipe/models/article.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/models/bookmark.py b/newspipe/models/bookmark.py
index 76be3422..e0184e45 100644
--- a/newspipe/models/bookmark.py
+++ b/newspipe/models/bookmark.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/models/feed.py b/newspipe/models/feed.py
index f29153d0..94987bc9 100644
--- a/newspipe/models/feed.py
+++ b/newspipe/models/feed.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/models/role.py b/newspipe/models/role.py
index 7262bd48..2b8489c2 100644
--- a/newspipe/models/role.py
+++ b/newspipe/models/role.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/models/user.py b/newspipe/models/user.py
index 347f97d9..b095fdf1 100644
--- a/newspipe/models/user.py
+++ b/newspipe/models/user.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/notifications/emails.py b/newspipe/notifications/emails.py
index 7f4ecffd..fc8833c3 100644
--- a/newspipe/notifications/emails.py
+++ b/newspipe/notifications/emails.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/notifications/notifications.py b/newspipe/notifications/notifications.py
index 2c4db222..c73694b7 100644
--- a/newspipe/notifications/notifications.py
+++ b/newspipe/notifications/notifications.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/static/js/articles.js b/newspipe/static/js/articles.js
index 4a6e8e73..f1cee6e7 100644
--- a/newspipe/static/js/articles.js
+++ b/newspipe/static/js/articles.js
@@ -1,6 +1,6 @@
/*!
* Newspipe - A web news aggregator.
-* Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+* Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
*
* For more information: https://sr.ht/~cedric/newspipe
*
diff --git a/newspipe/web/forms.py b/newspipe/web/forms.py
index 39d38878..1240e4ab 100644
--- a/newspipe/web/forms.py
+++ b/newspipe/web/forms.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/newspipe/web/views/bookmark.py b/newspipe/web/views/bookmark.py
index f3d336dd..59461755 100644
--- a/newspipe/web/views/bookmark.py
+++ b/newspipe/web/views/bookmark.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
diff --git a/poetry.lock b/poetry.lock
index 3a08e1c4..59583638 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -126,14 +126,14 @@ frozenlist = ">=1.1.0"
[[package]]
name = "alembic"
-version = "1.9.1"
+version = "1.9.2"
description = "A database migration tool for SQLAlchemy."
category = "main"
optional = false
python-versions = ">=3.7"
files = [
- {file = "alembic-1.9.1-py3-none-any.whl", hash = "sha256:a9781ed0979a20341c2cbb56bd22bd8db4fc1913f955e705444bd3a97c59fa32"},
- {file = "alembic-1.9.1.tar.gz", hash = "sha256:f9f76e41061f5ebe27d4fe92600df9dd612521a7683f904dab328ba02cffa5a2"},
+ {file = "alembic-1.9.2-py3-none-any.whl", hash = "sha256:e8a6ff9f3b1887e1fed68bfb8fb9a000d8f61c21bdcc85b67bb9f87fcbc4fce3"},
+ {file = "alembic-1.9.2.tar.gz", hash = "sha256:6880dec4f28dd7bd999d2ed13fbe7c9d4337700a44d11a524c0ce0c59aaf0dbd"},
]
[package.dependencies]
@@ -398,14 +398,14 @@ test = ["flake8 (==3.7.8)", "hypothesis (==3.55.3)"]
[[package]]
name = "cyclonedx-python-lib"
-version = "3.1.3"
+version = "3.1.5"
description = "A library for producing CycloneDX SBOM (Software Bill of Materials) files."
category = "dev"
optional = false
python-versions = ">=3.6,<4.0"
files = [
- {file = "cyclonedx_python_lib-3.1.3-py3-none-any.whl", hash = "sha256:c37b28224f65bfea559aca6392b93746761a119def55b844accae384d03ccf4f"},
- {file = "cyclonedx_python_lib-3.1.3.tar.gz", hash = "sha256:077894908b441a1a9ff84207fe3c84f1229b319564cbe83eb929e856cace3c02"},
+ {file = "cyclonedx_python_lib-3.1.5-py3-none-any.whl", hash = "sha256:8981ca462fba91469c268d684a03f72c89c7a807674d884f83a28d8c2822a9b6"},
+ {file = "cyclonedx_python_lib-3.1.5.tar.gz", hash = "sha256:1ccd482024a30b95c4fffb3fe567a9df97b705f34c1075f8abde8537867600c3"},
]
[package.dependencies]
@@ -834,14 +834,14 @@ lxml = ["lxml"]
[[package]]
name = "identify"
-version = "2.5.12"
+version = "2.5.13"
description = "File identification library for Python"
category = "dev"
optional = false
python-versions = ">=3.7"
files = [
- {file = "identify-2.5.12-py2.py3-none-any.whl", hash = "sha256:e8a400c3062d980243d27ce10455a52832205649bbcaf27ffddb3dfaaf477bad"},
- {file = "identify-2.5.12.tar.gz", hash = "sha256:0bc96b09c838310b6fcfcc61f78a981ea07f94836ef6ef553da5bb5d4745d662"},
+ {file = "identify-2.5.13-py2.py3-none-any.whl", hash = "sha256:8aa48ce56e38c28b6faa9f261075dea0a942dfbb42b341b4e711896cbb40f3f7"},
+ {file = "identify-2.5.13.tar.gz", hash = "sha256:abb546bca6f470228785338a01b539de8a85bbf46491250ae03363956d8ebb10"},
]
[package.extras]
@@ -1373,21 +1373,21 @@ pip = "*"
[[package]]
name = "pip-audit"
-version = "2.4.12"
+version = "2.4.13"
description = "A tool for scanning Python environments for known vulnerabilities"
category = "dev"
optional = false
python-versions = ">=3.7"
files = [
- {file = "pip_audit-2.4.12-py3-none-any.whl", hash = "sha256:e65dfbccf29f290606911d3a49cf62497d3c140e4aac0a17775438d7630588da"},
- {file = "pip_audit-2.4.12.tar.gz", hash = "sha256:eab6aab5a649e93f17309bf8d57bb369a63fa9ef60e96b585bba22acdbb54b97"},
+ {file = "pip_audit-2.4.13-py3-none-any.whl", hash = "sha256:3ea2fc5c70bf335362d4d81a7bd1084787efac34929e422f79bd8cf8804da2e2"},
+ {file = "pip_audit-2.4.13.tar.gz", hash = "sha256:e0c9fe070a16aefdbb9c4d43df6a0183bc951375a293f58264c5e80b5edb57d7"},
]
[package.dependencies]
CacheControl = {version = ">=0.12.10", extras = ["filecache"]}
cyclonedx-python-lib = ">=2.0.0,<2.5.0 || >2.5.0"
html5lib = ">=1.1"
-packaging = ">=21.0.0"
+packaging = ">=23.0.0"
pip-api = ">=0.0.28"
pip-requirements-parser = ">=32.0.0"
resolvelib = ">=0.8.0"
@@ -1396,7 +1396,7 @@ toml = ">=0.10"
[package.extras]
dev = ["build", "bump (>=1.3.2)", "pip-audit[lint,test]"]
-lint = ["black (>=22.3.0)", "interrogate", "isort", "mypy", "pdoc3", "ruff", "types-html5lib", "types-requests", "types-toml"]
+lint = ["black (>=22.3.0)", "interrogate", "isort", "mypy", "pdoc3", "ruff (<0.0.218)", "types-html5lib", "types-requests", "types-toml"]
test = ["coverage[toml]", "pretend", "pytest", "pytest-cov"]
[[package]]
@@ -1619,14 +1619,14 @@ six = ">=1.5"
[[package]]
name = "pytz"
-version = "2022.7"
+version = "2022.7.1"
description = "World timezone definitions, modern and historical"
category = "main"
optional = false
python-versions = "*"
files = [
- {file = "pytz-2022.7-py2.py3-none-any.whl", hash = "sha256:93007def75ae22f7cd991c84e02d434876818661f8df9ad5df9e950ff4e52cfd"},
- {file = "pytz-2022.7.tar.gz", hash = "sha256:7ccfae7b4b2c067464a6733c6261673fdb8fd1be905460396b97a073e9fa683a"},
+ {file = "pytz-2022.7.1-py2.py3-none-any.whl", hash = "sha256:78f4f37d8198e0627c5f1143240bb0206b8691d8d7ac6d78fee88b78733f8c4a"},
+ {file = "pytz-2022.7.1.tar.gz", hash = "sha256:01a0681c4b9684a28304615eba55d1ab31ae00bf68ec157ec3708a8182dbbcd0"},
]
[[package]]
@@ -1704,19 +1704,19 @@ classify-imports = ">=4.1"
[[package]]
name = "requests"
-version = "2.28.1"
+version = "2.28.2"
description = "Python HTTP for Humans."
category = "main"
optional = false
python-versions = ">=3.7, <4"
files = [
- {file = "requests-2.28.1-py3-none-any.whl", hash = "sha256:8fefa2a1a1365bf5520aac41836fbee479da67864514bdb821f31ce07ce65349"},
- {file = "requests-2.28.1.tar.gz", hash = "sha256:7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983"},
+ {file = "requests-2.28.2-py3-none-any.whl", hash = "sha256:64299f4909223da747622c030b781c0d7811e359c37124b4bd368fb8c6518baa"},
+ {file = "requests-2.28.2.tar.gz", hash = "sha256:98b1b2782e3c6c4904938b84c0eb932721069dfdb9134313beff7c83c2df24bf"},
]
[package.dependencies]
certifi = ">=2017.4.17"
-charset-normalizer = ">=2,<3"
+charset-normalizer = ">=2,<4"
idna = ">=2.5,<4"
urllib3 = ">=1.21.1,<1.27"
@@ -1759,14 +1759,14 @@ test = ["commentjson", "packaging", "pytest"]
[[package]]
name = "rich"
-version = "13.0.1"
+version = "13.1.0"
description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal"
category = "dev"
optional = false
python-versions = ">=3.7.0"
files = [
- {file = "rich-13.0.1-py3-none-any.whl", hash = "sha256:41fe1d05f433b0f4724cda8345219213d2bfa472ef56b2f64f415b5b94d51b04"},
- {file = "rich-13.0.1.tar.gz", hash = "sha256:25f83363f636995627a99f6e4abc52ed0970ebbd544960cc63cbb43aaac3d6f0"},
+ {file = "rich-13.1.0-py3-none-any.whl", hash = "sha256:f846bff22a43e8508aebf3f0f2410ce1c6f4cde429098bd58d91fde038c57299"},
+ {file = "rich-13.1.0.tar.gz", hash = "sha256:81c73a30b144bbcdedc13f4ea0b6ffd7fdc3b0d3cc259a9402309c8e4aee1964"},
]
[package.dependencies]
@@ -1778,18 +1778,18 @@ jupyter = ["ipywidgets (>=7.5.1,<8.0.0)"]
[[package]]
name = "setuptools"
-version = "65.6.3"
+version = "66.0.0"
description = "Easily download, build, install, upgrade, and uninstall Python packages"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
- {file = "setuptools-65.6.3-py3-none-any.whl", hash = "sha256:57f6f22bde4e042978bcd50176fdb381d7c21a9efa4041202288d3737a0c6a54"},
- {file = "setuptools-65.6.3.tar.gz", hash = "sha256:a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75"},
+ {file = "setuptools-66.0.0-py3-none-any.whl", hash = "sha256:a78d01d1e2c175c474884671dde039962c9d74c7223db7369771fcf6e29ceeab"},
+ {file = "setuptools-66.0.0.tar.gz", hash = "sha256:bd6eb2d6722568de6d14b87c44a96fac54b2a45ff5e940e639979a3d1792adb6"},
]
[package.extras]
-docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"]
+docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"]
testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8 (<5)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pip-run (>=8.8)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"]
testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"]
@@ -1981,14 +1981,14 @@ files = [
[[package]]
name = "urllib3"
-version = "1.26.13"
+version = "1.26.14"
description = "HTTP library with thread-safe connection pooling, file post, and more."
category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
files = [
- {file = "urllib3-1.26.13-py2.py3-none-any.whl", hash = "sha256:47cc05d99aaa09c9e72ed5809b60e7ba354e64b59c9c173ac3018642d8bb41fc"},
- {file = "urllib3-1.26.13.tar.gz", hash = "sha256:c083dd0dce68dbfbe1129d5271cb90f9447dea7d52097c6e0126120c521ddea8"},
+ {file = "urllib3-1.26.14-py2.py3-none-any.whl", hash = "sha256:75edcdc2f7d85b137124a6c3c9fc3933cdeaa12ecb9a6a959f22797a0feca7e1"},
+ {file = "urllib3-1.26.14.tar.gz", hash = "sha256:076907bf8fd355cde77728471316625a4d2f7e713c125f51953bb5b3eecf4f72"},
]
[package.extras]
@@ -2158,4 +2158,4 @@ multidict = ">=4.0"
[metadata]
lock-version = "2.0"
python-versions = "^3.10"
-content-hash = "12a0735892be9125f3114d0d56b7df729cc242ac337a1b64a7653165c2bff6e9"
+content-hash = "6be630794ca3b44b6a2964cb05caec5df059b5018887fd526eaf9ae044dd6c2a"
diff --git a/pyproject.toml b/pyproject.toml
index b18117de..0eb9acd5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,7 +34,7 @@ flask-talisman = "^0.8.1"
feedparser = "^6.0.8"
mypy = "^0.920"
-[tool.poetry.dev-dependencies]
+[tool.poetry.group.dev.dependencies ]
sqlalchemy-schemadisplay = "^1.3"
flake8 = "^3.9.2"
pre-commit = "^2.19.0"
@@ -44,7 +44,7 @@ reorder-python-imports = "^3.1.0"
pip-audit = "^2.4.3"
[build-system]
-requires = ["poetry>=0.12"]
+requires = ["poetry>=1.3.1"]
build-backend = "poetry.masonry.api"
[tool.mypy]
diff --git a/runserver.py b/runserver.py
index 8da3ec1e..03330eff 100755
--- a/runserver.py
+++ b/runserver.py
@@ -1,6 +1,6 @@
#! /usr/bin/env python
# Newspipe - A web news aggregator.
-# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
+# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information: https://sr.ht/~cedric/newspipe
#
bgstack15