Skip to content

Commit

Permalink
remove s3 plugin since boto is unmaintained (ref #513)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimn committed Jul 14, 2024
1 parent 769cbb7 commit d1aaa5e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 121 deletions.
3 changes: 3 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Not released yet.

Sigal now requires Python 3.9+.

- Remove s3 plugin since it relied on boto which is no longer maintained. Help
is welcome to update the plugin with the new boto3 library. [:issue:`513`]

Version 2.4
~~~~~~~~~~~

Expand Down
1 change: 0 additions & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ There are also a number of optional dependencies for the :doc:`plugins`,
installable with the ``[all]`` marker:

- Brotli, zopfli (compress assets plugin)
- Boto (upload to S3 plugin)
- feedgenerator (feeds plugin)

Packages
Expand Down
5 changes: 0 additions & 5 deletions docs/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,6 @@ Non-media Files plugin

.. automodule:: sigal.plugins.nonmedia_files

Upload to S3 plugin
===================

.. automodule:: sigal.plugins.upload_s3

Watermark plugin
================

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies = [
dynamic = ["version"]

[project.optional-dependencies]
all = ["boto", "brotli", "feedgenerator", "zopfli", "cryptography"]
all = ["brotli", "feedgenerator", "zopfli", "cryptography"]
tests = ["pytest", "pytest-cov"]
docs = ["Sphinx>=4.1.0", "furo", "cryptography"]

Expand Down
106 changes: 0 additions & 106 deletions src/sigal/plugins/upload_s3.py

This file was deleted.

8 changes: 0 additions & 8 deletions src/sigal/templates/sigal.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@
# 'sigal.plugins.media_page',
# 'sigal.plugins.nomedia',
# 'sigal.plugins.nonmedia_files',
# 'sigal.plugins.upload_s3',
# 'sigal.plugins.watermark',
# 'sigal.plugins.zip_gallery',
# ]
Expand Down Expand Up @@ -317,13 +316,6 @@
# 'thumb_font_size': 40, # only applies when a font is selected
# }

# Settings for upload to s3 plugin
# upload_s3_options = {
# 'bucket': 'my-bucket',
# 'policy': 'public-read',
# 'overwrite': False
# }

# Set zip_gallery to either False or a file name. The file name can
# be formatted python style with an 'album' variable, for example
# '{album.name}.zip'. The final archive will contain all resized or
Expand Down

0 comments on commit d1aaa5e

Please sign in to comment.