Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update xml_sitemap_writer to 0.6.0 #114

Merged
merged 1 commit into from
Feb 24, 2025

Conversation

gasche
Copy link
Contributor

@gasche gasche commented Feb 22, 2025

0.5.0 is incompatible with python 3.12 and more recent, with the following error observed in CI:

Traceback (most recent call last):
  File "/builds/gasche/types-chat-archive/zulip-archive/archive.py", line 52, in <module>
    from lib.sitemap import build_sitemap
  File "/builds/gasche/types-chat-archive/zulip-archive/lib/sitemap.py", line 4, in <module>
    from xml_sitemap_writer import XMLSitemap
  File "/root/.local/lib/python3.13/site-packages/xml_sitemap_writer.py", line 8, in <module>
    from typing.io import IO  # pylint:disable=import-error

(The incompatibility is due to the removal of 'typing.io' in 3.12, see here for some discussion.)

I have checked manually that the zulip-archive works fine with xml_sitemap_writer 0.6.0, which supports python 3.12 and 3.13.

0.5.0 is incompatible with python 3.12 and more recent, with the following error observed in CI:

```
Traceback (most recent call last):
  File "/builds/gasche/types-chat-archive/zulip-archive/archive.py", line 52, in <module>
    from lib.sitemap import build_sitemap
  File "/builds/gasche/types-chat-archive/zulip-archive/lib/sitemap.py", line 4, in <module>
    from xml_sitemap_writer import XMLSitemap
  File "/root/.local/lib/python3.13/site-packages/xml_sitemap_writer.py", line 8, in <module>
    from typing.io import IO  # pylint:disable=import-error
```

(The incompatibility is due to the removal of 'typing.io' in 3.12, see [here](Almenon/AREPL-vscode#416 (comment)) for some discussion.)

I have checked manually that the zulip-archive works fine with xml_sitemap_writer 0.6.0, which supports python 3.12 and 3.13.
@timabbott timabbott merged commit 6635180 into zulip:master Feb 24, 2025
2 checks passed
@timabbott
Copy link
Member

Merged, thanks for the PR @gasche!

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