Skip to content

Commit

Permalink
Merge pull request #10 from ianepperson/support36
Browse files Browse the repository at this point in the history
Resume support for Python3.6
  • Loading branch information
ianepperson authored Jan 19, 2021
2 parents 58604b6 + c607d75 commit dcb5d93
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# filestorage
A Python library to make storing files simple and easy.

> :warning: Although there are extensive tests within this project for Python 3.7, 3.8 and 3.9, it is a young project and there may be bugs and security holes. Be sure and test thoroughly prior to use in a production environment.
> :warning: Although there are extensive tests within this project for Python 3.6, 3.7, 3.8 and 3.9, it is a young project and there may be bugs and security holes. Be sure and test thoroughly prior to use in a production environment.
It is primarily intended to deal with file uploads to a static files directory or an object service like
[AWS S3](https://aws.amazon.com/s3/?nc2=h_ql_prod_st_s3) or [Linode](https://www.linode.com/products/object-storage/).
Expand Down
2 changes: 1 addition & 1 deletion filestorage/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.4
0.0.5
2 changes: 1 addition & 1 deletion filestorage/file_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from . import utils


class SyncReader(BinaryIO):
class SyncReader:
def __init__(self, item: 'FileItem'):
self.data = item.data
self.filename = item.filename
Expand Down
3 changes: 1 addition & 2 deletions filestorage/file_item.pyi
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import abc
from . import utils as utils
from typing import Any, BinaryIO, NamedTuple, Optional, Tuple

class SyncReader(BinaryIO, metaclass=abc.ABCMeta):
class SyncReader:
data: Any = ...
filename: Any = ...
def __init__(self, item: FileItem) -> None: ...
Expand Down

0 comments on commit dcb5d93

Please sign in to comment.