Skip to content

Commit

Permalink
Merge pull request #662 from amoffat/develop
Browse files Browse the repository at this point in the history
release 2.0.3
  • Loading branch information
amoffat authored Mar 20, 2023
2 parents d42f09b + aa8ed42 commit 4ecfd8a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sh"
version = "2.0.2"
version = "2.0.3"
description = "Python subprocess replacement"
authors = ["Andrew Moffat <[email protected]>"]
readme = "README.rst"
Expand Down
7 changes: 4 additions & 3 deletions sh.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
# ===============================================================================
__version__ = "2.0.0"
__project_url__ = "https://github.com/amoffat/sh"

import asyncio
from collections import deque

Expand Down Expand Up @@ -60,6 +57,7 @@
from asyncio import Queue as AQueue
from contextlib import contextmanager
from functools import partial
from importlib import metadata
from io import BytesIO, StringIO, UnsupportedOperation
from io import open as fdopen
from locale import getpreferredencoding
Expand All @@ -68,6 +66,9 @@
from types import GeneratorType, ModuleType
from typing import Any, Dict, Type, Union

__version__ = metadata.version("sh")
__project_url__ = "https://github.com/amoffat/sh"

if "windows" in platform.system().lower(): # pragma: no cover
raise ImportError(
"sh %s is currently only supported on linux and osx. \
Expand Down

0 comments on commit 4ecfd8a

Please sign in to comment.