Commit 1e053836 authored by Hanno Schlichting's avatar Hanno Schlichting

Test with Python 3.3 to 3.5.

parent 79d3def3
...@@ -10,4 +10,5 @@ develop-eggs ...@@ -10,4 +10,5 @@ develop-eggs
*.pyo *.pyo
*.so *.so
.installed.cfg .installed.cfg
.tox
*.egg-info *.egg-info
...@@ -2,8 +2,9 @@ language: python ...@@ -2,8 +2,9 @@ language: python
sudo: false sudo: false
python: python:
- 2.7 - 2.7
- 3.2
- 3.3 - 3.3
- 3.4
- 3.5
install: install:
- python bootstrap.py - python bootstrap.py
- bin/buildout - bin/buildout
......
Changelog Changelog
========= =========
2.13.0 - unreleased 3.0 - unreleased
------------------- ----------------
- Python 3 compatibility - Python 3.3-3.5 compatibility.
2.12.2 - 2012-10-14 2.12.2 - 2012-10-14
------------------- -------------------
......
[buildout] [buildout]
extends = https://raw.githubusercontent.com/zopefoundation/Zope/master/versions.cfg
develop = . develop = .
parts = test parts = interpreter test tox
[versions]
tempstorage =
[interpreter]
recipe = zc.recipe.egg
interpreter = python
eggs = tempstorage
[test] [test]
recipe = zc.recipe.testrunner recipe = zc.recipe.testrunner
eggs = tempstorage eggs = tempstorage
[tox]
recipe = zc.recipe.egg
eggs = tox
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
long_description = open("README.txt").read() + "\n" + \ long_description = (open("README.txt").read() + "\n" +
open("CHANGES.txt").read() open("CHANGES.txt").read())
setup(name='tempstorage', setup(name='tempstorage',
version = '2.13.dev0', version='3.0.dev0',
url='http://pypi.python.org/pypi/tempstorage', url='http://pypi.python.org/pypi/tempstorage',
license='ZPL 2.1', license='ZPL 2.1',
description='A RAM-based storage for ZODB', description='A RAM-based storage for ZODB',
...@@ -30,12 +30,11 @@ setup(name='tempstorage', ...@@ -30,12 +30,11 @@ setup(name='tempstorage',
classifiers=[ classifiers=[
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 2", "Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: CPython",
], ],
packages=find_packages('src'), packages=find_packages('src'),
......
...@@ -323,17 +323,17 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage): ...@@ -323,17 +323,17 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
try: try:
del referenceCount[oid] del referenceCount[oid]
except: except Exception:
pass pass
try: try:
del self._opickle[oid] del self._opickle[oid]
except: except Exception:
pass pass
try: try:
del self._index[oid] del self._index[oid]
except: except Exception:
pass pass
# remove this object from the conflict cache if it exists there # remove this object from the conflict cache if it exists there
...@@ -361,7 +361,7 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage): ...@@ -361,7 +361,7 @@ class TemporaryStorage(BaseStorage, ConflictResolvingStorage):
referenceCount[roid] = rc referenceCount[roid] = rc
try: try:
del self._oreferences[oid] del self._oreferences[oid]
except: except Exception:
pass pass
def pack(self, t, referencesf): def pack(self, t, referencesf):
......
[tox]
envlist =
py27,py33,py34,py35,pypy,pypy3
[testenv]
commands =
zope-testrunner --test-path=src --auto-color --auto-progress
deps =
ZODB
zope.testing
zope.testrunner
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment