Skip to content

Conversation

@auouymous
Copy link
Contributor

No description provided.

@amiryal
Copy link
Member

amiryal commented Apr 17, 2025

Checks are failing. Looks like the format of poetry.lock had changed at some point?

diff --git a/poetry.lock b/poetry.lock
index 5dacf26..dc355d9 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1,10 +1,16 @@
+# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand.
+
 [[package]]
 name = "feedparser"
 version = "6.0.5"
 description = "Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds"
-category = "main"
 optional = false
 python-versions = ">=3.6"
+groups = ["main"]
+files = [
+    {file = "feedparser-6.0.5-py3-none-any.whl", hash = "sha256:f4dfcc94bb85fd44bb27089f696cdd225d6c10b3ab25a9ddaa8257b692b6a224"},
+    {file = "feedparser-6.0.5.tar.gz", hash = "sha256:cae320004d904a12e33b1b10bd63766bc2823eec94e03b802fbb228d820838d9"},
+]
 
 [package.dependencies]
 sgmllib3k = "*"
@@ -13,43 +19,37 @@ sgmllib3k = "*"
 name = "html2text"
 version = "2020.1.16"
 description = "Turn HTML into equivalent Markdown-structured text."
-category = "main"
 optional = false
 python-versions = ">=3.5"
+groups = ["main"]
+files = [
+    {file = "html2text-2020.1.16-py3-none-any.whl", hash = "sha256:c7c629882da0cf377d66f073329ccf34a12ed2adf0169b9285ae4e63ef54c82b"},
+    {file = "html2text-2020.1.16.tar.gz", hash = "sha256:e296318e16b059ddb97f7a8a1d6a5c1d7af4544049a01e261731d2d5cc277bbb"},
+]
 
 [[package]]
 name = "sgmllib3k"
 version = "1.0.0"
 description = "Py3k port of sgmllib."
-category = "main"
 optional = false
 python-versions = "*"
+groups = ["main"]
+files = [
+    {file = "sgmllib3k-1.0.0.tar.gz", hash = "sha256:7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9"},
+]
 
 [[package]]
 name = "update-copyright"
 version = "0.6.2"
 description = "Automatically update copyright blurbs in versioned source."
-category = "dev"
 optional = false
 python-versions = "*"
-
-[metadata]
-lock-version = "1.1"
-python-versions = "^3.6"
-content-hash = "90cb7e86a04cf6708485bd4c8c9c11c369898e17ffdb580897ca42ac4bfcc64e"
-
-[metadata.files]
-feedparser = [
-    {file = "feedparser-6.0.5-py3-none-any.whl", hash = "sha256:f4dfcc94bb85fd44bb27089f696cdd225d6c10b3ab25a9ddaa8257b692b6a224"},
-    {file = "feedparser-6.0.5.tar.gz", hash = "sha256:cae320004d904a12e33b1b10bd63766bc2823eec94e03b802fbb228d820838d9"},
-]
-html2text = [
-    {file = "html2text-2020.1.16-py3-none-any.whl", hash = "sha256:c7c629882da0cf377d66f073329ccf34a12ed2adf0169b9285ae4e63ef54c82b"},
-    {file = "html2text-2020.1.16.tar.gz", hash = "sha256:e296318e16b059ddb97f7a8a1d6a5c1d7af4544049a01e261731d2d5cc277bbb"},
-]
-sgmllib3k = [
-    {file = "sgmllib3k-1.0.0.tar.gz", hash = "sha256:7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9"},
-]
-update-copyright = [
+groups = ["dev"]
+files = [
     {file = "update-copyright-0.6.2.tar.gz", hash = "sha256:ffccb6eb762afcbd7e91d0e1901a3af7fba0d90ede4da21ac45e18d6d66bcb9f"},
 ]
+
+[metadata]
+lock-version = "2.1"
+python-versions = "^3.6"
+content-hash = "90cb7e86a04cf6708485bd4c8c9c11c369898e17ffdb580897ca42ac4bfcc64e"

That ↑ is the result of running poetry lock on the project with a freshly installed poetry in python3.13.

@auouymous
Copy link
Contributor Author

feedparser 6.0.5 doesn't support 3.13, and technically 6.0.11 also doesn't fully support it (kurtmckee/feedparser#481). I am unable to install poetry, could you bump feedparser in pyproject.toml and commit it?

amiryal and others added 3 commits April 17, 2025 15:58
As suggested by `poetry lock`:

    The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
Co-authored-by: Brand Huntsman <au@qzx.com>
Copy link
Member

@amiryal amiryal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you have a quick look at the diff and merge it?

@amiryal
Copy link
Member

amiryal commented Apr 17, 2025

For anyone who’d like to follow my footsteps:

nix profile install nixpkgs#uv
nix run nixpkgs#python313 -- --version
uv venv -p $(nix eval --raw nixpkgs#python313) --seed build/venv3.13
source build/venv3.13/bin/activate
pip install poetry
poetry lock
poetry update feedparser

And for completeness:

$ nix registry list | grep ^user
user   flake:nixpkgs github:NixOS/nixpkgs/1128e89fd5e11bb25aedbfc287733c6502202ea9
$ poetry --version
Poetry (version 2.1.2)

@auouymous auouymous merged commit 9e98570 into rss2email:master Apr 17, 2025
6 checks passed
@auouymous auouymous deleted the fix-3.13 branch April 17, 2025 23:41
@auouymous
Copy link
Contributor Author

Thank you for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants