Skip to content

Commit 6f89b81

Browse files
authored
add 3.8dev (#352)
* add 3.8dev * remove landscape * allow 3.8 * requirements for readthedocs.io * badges on two lines * added 3.8 * changelog * requirements for readthedocs
1 parent 2d9189d commit 6f89b81

6 files changed

+16
-9
lines changed

.travis.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@ sudo: false
33
language: python
44

55
python:
6-
- '2.7'
7-
- '3.4'
8-
- '3.5'
9-
- '3.6'
10-
- '3.7'
6+
- "2.7"
7+
- "3.4"
8+
- "3.5"
9+
- "3.6"
10+
- "3.7"
11+
- "3.8-dev"
1112
# TODO (dargueta): Enable these once we figure out FTP timing issues in PyPy tests
1213
# - 'pypy'
1314
# - 'pypy3.5-7.0'
1415

1516
matrix:
1617
include:
17-
- name: 'Type checking'
18-
python: '3.7'
18+
- name: "Type checking"
19+
python: "3.7"
1920
env: TOXENV=typecheck
2021

2122
before_install:

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111

1212
- Added geturl for TarFS and ZipFS for 'fs' purpose. NoURL for 'download' purpose.
1313
- Added helpful root path in CreateFailed exception [#340](https://github.com/PyFilesystem/pyfilesystem2/issues/340)
14+
- Added Python 3.8 support
1415

1516
### Fixed
1617

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ Python's Filesystem abstraction layer.
44

55
[![PyPI version](https://badge.fury.io/py/fs.svg)](https://badge.fury.io/py/fs)
66
[![PyPI](https://img.shields.io/pypi/pyversions/fs.svg)](https://pypi.org/project/fs/)
7+
[![Downloads](https://pepy.tech/badge/fs/month)](https://pepy.tech/project/fs/month)
8+
9+
710
[![Build Status](https://travis-ci.org/PyFilesystem/pyfilesystem2.svg?branch=master)](https://travis-ci.org/PyFilesystem/pyfilesystem2)
811
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/pyfilesystem/pyfilesystem2?branch=master&svg=true)](https://ci.appveyor.com/project/willmcgugan/pyfilesystem2)
912
[![Coverage Status](https://coveralls.io/repos/github/PyFilesystem/pyfilesystem2/badge.svg)](https://coveralls.io/github/PyFilesystem/pyfilesystem2)
1013
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/30ad6445427349218425d93886ade9ee)](https://www.codacy.com/app/will-mcgugan/pyfilesystem2?utm_source=github.com&utm_medium=referral&utm_content=PyFilesystem/pyfilesystem2&utm_campaign=Badge_Grade)
11-
[![Code Health](https://landscape.io/github/PyFilesystem/pyfilesystem2/master/landscape.svg?style=flat)](https://landscape.io/github/PyFilesystem/pyfilesystem2/master)
1214

1315
## Documentation
1416

fs/osfs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def _check_copy(self, src_path, dst_path, overwrite=False):
419419
raise errors.DirectoryExpected(dirname(dst_path))
420420
return _src_path, _dst_path
421421

422-
if sys.version_info[:2] < (3, 8) and sendfile is not None:
422+
if sys.version_info[:2] <= (3, 8) and sendfile is not None:
423423

424424
_sendfile_error_codes = {
425425
errno.EIO,

requirements-readthedocs.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# requirements for readthedocs.io
2+
-e .

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"Programming Language :: Python :: 3.5",
1717
"Programming Language :: Python :: 3.6",
1818
"Programming Language :: Python :: 3.7",
19+
"Programming Language :: Python :: 3.8",
1920
"Programming Language :: Python :: Implementation :: CPython",
2021
"Programming Language :: Python :: Implementation :: PyPy",
2122
"Topic :: System :: Filesystems",

0 commit comments

Comments
 (0)