Skip to content

Commit e9ee191

Browse files
committed
Make copydir work again - fixes issue #90
1 parent 7f95af6 commit e9ee191

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [1.1.2] - 2024-01-09
9+
10+
### Fixed
11+
12+
- fs.copydir is now working again with the latest version of FS - see [issue #90](https://github.com/PyFilesystem/s3fs/issues/90)
13+
814
## [1.1.1] - 2019-08-14
915

1016
### Changed

fs_s3fs/_s3fs.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,9 @@ def upload(self, path, file, chunk_size=None, **options):
775775
file, self._bucket_name, _key, ExtraArgs=self._get_upload_args(_key)
776776
)
777777

778-
def copy(self, src_path, dst_path, overwrite=False):
778+
def copy(self, src_path, dst_path, overwrite=False, preserve_time=False):
779+
if preserve_time:
780+
raise NotImplementedError("preserve_time is not yet supported with S3 backend")
779781
if not overwrite and self.exists(dst_path):
780782
raise errors.DestinationExists(dst_path)
781783
_src_path = self.validatepath(src_path)

fs_s3fs/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.1.1"
1+
__version__ = "1.1.2"

0 commit comments

Comments
 (0)