Skip to content

Commit edf3010

Browse files
committed
sshfs: drop python 3.6
1 parent 0d20588 commit edf3010

File tree

7 files changed

+5
-68
lines changed

7 files changed

+5
-68
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
matrix:
1818
os: [ubuntu-18.04, macos-10.15]
19-
pyv: ["3.6", "3.7", "3.8", "3.9", "3.10.0-rc.1"]
19+
pyv: ["3.7", "3.8", "3.9", "3.10.0-rc.1"]
2020

2121
steps:
2222
- uses: actions/checkout@v2

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ classifiers =
1717
install_requires =
1818
fsspec>=2021.8.1
1919
asyncssh>=2.7.1,<2.9
20-
async_exit_stack==1.0.1; python_version < "3.7"
2120
packages = find:
2221

2322
[options.extras_require]

sshfs/compat.py

Lines changed: 0 additions & 59 deletions
This file was deleted.

sshfs/pools/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import asyncio
2-
from contextlib import suppress
2+
from contextlib import AsyncExitStack, suppress
33

44
from asyncssh.misc import ChannelOpenError
55

6-
from sshfs.compat import AsyncExitStack
7-
86
MAX_TIMEOUT = 60 * 60 * 3
97

108

sshfs/pools/hard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncio
2+
from contextlib import asynccontextmanager
23

3-
from sshfs.compat import asynccontextmanager
44
from sshfs.pools.base import BaseSFTPChannelPool
55

66

sshfs/pools/soft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import heapq
22
from collections import Counter
3+
from contextlib import asynccontextmanager
34

4-
from sshfs.compat import asynccontextmanager
55
from sshfs.pools.base import BaseSFTPChannelPool
66

77

sshfs/spec.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import stat
55
import threading
66
import weakref
7-
from contextlib import suppress
7+
from contextlib import AsyncExitStack, suppress
88
from datetime import datetime
99

1010
import asyncssh
@@ -17,7 +17,6 @@
1717
sync_wrapper,
1818
)
1919

20-
from sshfs.compat import AsyncExitStack
2120
from sshfs.file import SSHFile
2221
from sshfs.pools import SFTPSoftChannelPool
2322
from sshfs.utils import (

0 commit comments

Comments
 (0)