Skip to content

Commit

Permalink
Update dependencies (#51)
Browse files Browse the repository at this point in the history
* make specification of versions for packaging and google-cloud-store less strict
  • Loading branch information
mathiaseitz authored Jun 3, 2022
1 parent 1b4754e commit c219b9c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ Possible types of changes are:
- `Fixed` for any bug fixes
- `Security` in case of vulnerabilities



1.5.1 - 03.06.2022
------------------
Fixed
'''''
- Relax version constraints for dependency ``packaging`` and ``google-cloud-storage``.


1.5.0 - 09.03.2022
------------------
Added
Expand Down
2 changes: 1 addition & 1 deletion fs_gcsfs/opener.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def open_fs(self, fs_url, parse_result, writeable, create, cwd): # pylint: disa
root_path = join(*path_parts[1:])

if not bucket_name:
raise OpenerError("invalid bucket name in '{}'".format(fs_url))
raise OpenerError("Invalid bucket name in '{}'".format(fs_url))

if parse_result.params.get("strict") == "False":
strict = False
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
python_requires=">=3.5",
setup_requires=['setuptools_scm'],
install_requires=[
"fs~=2.0",
"google-cloud-storage~=1.0",
"fs~=2.2", # require at least 2.2 since we are using functions such as readbytes() and writebytes() that have been introduced in 2.2
"google-cloud-storage>=1.0", # but 1.x and 2.x work. The major change in 2.x was to drop Python 2 support which fs-gcsfs does not support anyways.
"urllib3~=1.25",
"packaging~=20.0",
"packaging>=20.0", # does not use semver so there's no need to restrict to a fixed major version
"requests~=2.20"
],
entry_points={
Expand Down

0 comments on commit c219b9c

Please sign in to comment.