Skip to content

requirements: Fix zulint egg fragment and ignore empty lines in rss-bot - #929

Open
anikethinge wants to merge 2 commits into
zulip:mainfrom
anikethinge:fix-zulint-egg-fragment
Open

anikethinge wants to merge 2 commits into
zulip:mainfrom
anikethinge:fix-zulint-egg-fragment

Conversation

@anikethinge

Copy link
Copy Markdown

Modern versions of pip (pip 25+ / Python 3.14) reject version specifiers inside #egg= fragments with error: invalid-egg-fragment.

This removes the redundant ==1.0.0 version specifier from #egg=zulint==1.0.0 in requirements.txt so pip install -r requirements.txt succeeds on newer pip versions.

Modern versions of pip (pip 25+) reject version specifiers inside #egg= fragments with invalid-egg-fragment. Remove ==1.0.0 from the zulint URL in requirements.txt.
@anikethinge
anikethinge force-pushed the fix-zulint-egg-fragment branch 2 times, most recently from 31b35b5 to 4a3b4dd Compare October 22, 2026 05:07
@anikethinge

Copy link
Copy Markdown
Author

This PR includes two fixes:

  1. requirements: Fix invalid egg fragment specifier for zulint.
    Modern versions of pip (pip 25+ / Python 3.14) reject version specifiers inside #egg= fragments with error: invalid-egg-fragment. This removes the redundant ==1.0.0 version specifier from #egg=zulint==1.0.0 in requirements.txt so pip install -r requirements.txt succeeds on newer pip versions.

  2. rss-bot: Ignore empty lines and comments in feed files.
    Prevents rss-bot from failing when encountering blank lines or # comment lines in feed configuration files.

@anikethinge anikethinge changed the title requirements: Fix invalid egg fragment specifier for zulint. requirements: Fix zulint egg fragment and ignore empty lines in rss-bot Oct 22, 2026
@anikethinge
anikethinge force-pushed the fix-zulint-egg-fragment branch 2 times, most recently from 40c5066 to 857e7be Compare October 22, 2026 05:35
@zulipbot zulipbot added size: S and removed size: XS labels Oct 22, 2026
@anikethinge
anikethinge force-pushed the fix-zulint-egg-fragment branch from 857e7be to ab7ffc8 Compare October 22, 2026 09:08
@zulipbot zulipbot added size: XS and removed size: S labels Oct 22, 2026
Fixes zulip#920 by filtering out empty lines and lines starting with '#'
when reading the feed configuration file.
@anikethinge
anikethinge force-pushed the fix-zulint-egg-fragment branch from 9e93f71 to b5c635c Compare October 23, 2026 10:41
@zulipbot zulipbot added size: S and removed size: XS labels Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants