Skip to content

Commit

Permalink
removed caching and bumped version to 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shahriyardx committed Oct 22, 2024
1 parent cf661f0 commit fd2dc6d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion easy_pil/_version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from collections import namedtuple

__version__ = "0.3.9"
__version__ = "0.4.0"

VersionInfo = namedtuple("VersionInfo", "major minor macro release")

Expand Down
2 changes: 0 additions & 2 deletions easy_pil/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import aiohttp
import requests
from aiocache import cached
from PIL import Image
from PIL.GifImagePlugin import GifImageFile

Expand Down Expand Up @@ -48,7 +47,6 @@ def load_image(
return image


@cached(ttl=60 * 60 * 24)
async def load_image_async(
link: str,
session: Optional[aiohttp.ClientSession] = None,
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "easy-pil"
version = "0.3.9"
version = "0.4.0"
description = "A Python library built on top of PIL to easily edit/modify images"
keywords = ["easy-pil", "easy pillow", "Pillow", "image editing"]
authors = ["Md Shahriyar Alam <[email protected]>"]
Expand Down Expand Up @@ -34,7 +34,6 @@ python = ">=3.8.1,<3.15"
pillow = "^10.1.0"
aiohttp = "^3.10.5"
requests = "^2.30.0"
aiocache = "^0.12.2"
typing-extensions = "^4.8.0"

[tool.poetry.group.dev.dependencies]
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
aiocache==0.12.2
aiohttp>=3.10.0
Pillow==10.1.0
requests==2.31.0
Expand Down

0 comments on commit fd2dc6d

Please sign in to comment.