Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ env:

matrix:
include:
- env: RUNTIME=2.7
- env: RUNTIME=3.5
- env: RUNTIME=3.6
fast_finish: true

Expand Down
2 changes: 0 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ environment:

matrix:

- RUNTIME: '2.7'
- RUNTIME: '3.5'
- RUNTIME: '3.6'

matrix:
Expand Down
7 changes: 4 additions & 3 deletions codetools/contexts/data_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@

from collections import MutableMapping as DictMixin
from contextlib import contextmanager
import pickle

from apptools import sweet_pickle
from apptools.persistence.versioned_unpickler import VersionedUnpickler
from traits.adaptation.api import (
AdaptationOffer, get_global_adaptation_manager)
from traits.api import (
Expand Down Expand Up @@ -191,7 +192,7 @@ def load(file_or_path):
file_object = open(file_or_path, 'rb')

try:
data_context = sweet_pickle.load(file_object)
data_context = VersionedUnpickler(file_object).load()
finally:
if should_close:
file_object.close()
Expand Down Expand Up @@ -224,7 +225,7 @@ def save(self, file_or_path):
for item in self.keys():
if isinstance(self[item], tuple(NonPickleable)):
del self[item]
sweet_pickle.dump(self, file_object, 1)
pickle.dump(self, file_object, 1)
finally:
if should_close:
file_object.close()
Expand Down
2 changes: 1 addition & 1 deletion etstool.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"mock",
}

supported_runtimes = ["2.7.13", "3.5.2", "3.6.0"]
supported_runtimes = ["3.6"]

@click.group()
def cli():
Expand Down