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

Remove Posterous integration #3198

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

mart-e
Copy link
Contributor

@mart-e mart-e commented Oct 3, 2023

At first my intention was to replace the base64.encodestring by base64.encodebytes (the former has been removed in python 3.11) but I realised this code was actually not working.

This PR is a suggestion to fully remove the Posterous import.

Posterous closed down in 2013.
The API is no longer accessible and the code did not work in python 3 (base64.encodestring was expecting bytes, not string)

Pull Request Checklist

  • Ensured tests pass and (if applicable) updated functional test output
  • Conformed to code style guidelines by running appropriate linting tools
  • Added tests for changed code
  • Updated documentation for changed code

@mart-e mart-e marked this pull request as ready for review October 3, 2023 09:44
docs/importer.rst Outdated Show resolved Hide resolved
Posterous closed down in 2013.
The API is no longer accessible and the code did not work in python 3
(base64.encodestring was expecting bytes, not string)
Copy link
Member

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

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

Many thanks to @mart-e for this enhancement and to @avaris and @pauloxnet for reviewing. 🥇

@justinmayer justinmayer merged commit 777a708 into getpelican:master Oct 24, 2023
11 checks passed
@mart-e mart-e deleted the remove-posterous branch October 24, 2024 11:23
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.

4 participants