Skip to content

Commit

Permalink
Python 3.7 and betas compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
mikicz committed Jun 11, 2018
1 parent 1f66369 commit 0f3e2c9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion arca/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@

__all__ = ["Arca", "BaseBackend", "VenvBackend", "DockerBackend", "Result", "Task", "CurrentEnvironmentBackend",
"RequirementsStrategy", "VagrantBackend"]
__version__ = "0.2.0"
__version__ = "0.2.1"
6 changes: 3 additions & 3 deletions arca/backend/docker.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import hashlib
import json
import platform
import signal
import sys
import tarfile
import time

Expand Down Expand Up @@ -150,10 +150,10 @@ def get_dependencies(self) -> Optional[List[str]]:
return dependencies

def get_python_version(self) -> str:
""" Returns either the specified version from settings or a string of the sys.executable version.
""" Returns either the specified version from settings or platform.python_version()
"""
if self.python_version is None:
python_version = f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}"
python_version = platform.python_version()
else:
python_version = self.python_version

Expand Down
6 changes: 6 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changes
=======

0.2.1 (2018-06-11)
******************

Updated dogpile.cache to 0.6.5, enabling compatability with Python 3.7.
Updated the Docker backend to be able to run on Python betas.

0.2.0 (2018-05-09)
******************

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gitpython
pytest
dogpile.cache==0.6.4
dogpile.cache==0.6.5
docker~=3.1.0
pytest-flake8
pytest-cov
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def long_description():

setup(
name="arca",
version="0.2.0",
version="0.2.1",
author="Mikuláš Poul",
author_email="[email protected]",
description="A library for running Python functions (callables) from git repositories "
Expand All @@ -32,7 +32,7 @@ def long_description():
long_description=long_description(),
install_requires=[
"gitpython==2.1.9",
"dogpile.cache==0.6.4",
"dogpile.cache==0.6.5",
"requests",
"entrypoints>=0.2.3",
"cached-property",
Expand Down

0 comments on commit 0f3e2c9

Please sign in to comment.