Commit Graph

97 Commits

Author SHA1 Message Date
Jason Madden d584d19ef0
Attempt to fix Python 3.6 build on Travis. 2017-06-22 10:40:50 -05:00
Jason Madden 3b65f778e6
Test on ZODB 4.4
Fixes #169.

We need this version for IMultiCommitStorage and the registerDB fix in
ConflictResolvingStorage. Since these versions run on Python 2.7.8,
there's no motivation for trying to go back farther.
2017-04-11 09:27:46 -05:00
Jason Madden 6d4731daa5 Support for Python 3.6 (#146)
* Initial support for 3.6: tox.ini, changes.rst

* Try 3.6.0rc1 in travis

* Try 3.6.0rc1 in travis

* Adjust version specs for 3.6.0rc1
2016-12-12 06:36:17 -06:00
Jason Madden c09403baf9
list cffi in setup_requires for buildout users. 2016-10-02 06:25:50 -05:00
Jason Madden 0fb95054d3
Build the CFFI lib in a nice way when possible. 2016-09-22 16:14:58 -05:00
Jason Madden c9467db5c7
We require CFFI. 2016-09-22 15:15:19 -05:00
Jason Madden 949e8e5c44
Need python_full_version, not python_version. 2016-09-08 11:24:32 -05:00
Jason Madden 8ea497f17b
Hmm, tweak version comparison. 2.7.9 on travis still got the old ZODB 4 release, but Python 3 got the new 5 release. 2016-09-08 10:50:57 -05:00
Jason Madden 3b952ce597
Use environment markers to get compatible versions of ZEO on old pythons. 2016-09-08 10:39:44 -05:00
Jason Madden 6425cbf2c1
Use find_packages instead of a manual list, and test non-editable installs. Fixes #121 2016-09-08 06:29:29 -05:00
Jason Madden f81338039a
Ahh, maybe the b1 in the ZEO pin is what's allowing it to use ZEO 5b0? Anyway, PyPy is having trouble untarring ZEO-5.0.0b0.tar.gz. 2016-08-23 13:01:49 -05:00
Jason Madden 7f95a40a18
Relax ZEO version dependency; tests pass with ZEO 5.0.0b1, which is needed if ZODB 5 is installed because of a version conflict in ZEO 4 which says ZODB<4.999 2016-08-23 10:37:03 -05:00
Jason Madden 65644468a0 Import cache stats tests from ZEO. 2016-07-12 13:55:29 -05:00
Jason Madden 96d581e341 Implement IMultiCommitStorage. Fixes #95.
Very few changes outside the few small storage method changes, just a
few small changes to handle the different return types.

blob_packing and blob_transaction were synchronized with ZODB5 versions.

The tests will still fail pending new releases of ZODB 4 and 5.
2016-07-09 14:28:00 -05:00
Jason Madden 36aff8902d
Reorg change notes and revert ZODB version update of daa7daf
[skip ci]
2016-07-08 17:26:59 -05:00
Jason Madden daa7dafcfd
Switch to recommending and testing mysqlclient on python 2. Fixes #96 2016-06-30 16:02:06 -05:00
Jason Madden 657a3ae950
add keywords and author_email to setup.py [skip ci]
Fixes #82
2016-06-28 15:14:42 -05:00
Jason Madden 591979da3a
Move to version.txt for sharing with doc/conf.py and use with zest.releaser. [skip ci] 2016-06-28 12:33:02 -05:00
Jason Madden a2276f1501
Update version; we're going with 2.0 [skip ci] 2016-06-28 12:00:32 -05:00
Jason Madden 5ae308fd55
registerDB and new_instance cooperate with storage wrappers.
Fixes #70 and fixes #71.

Add tests for this.
2016-06-24 07:25:51 -05:00
Jason Madden fcd021031c
rework adapter installation docs. 2016-06-23 07:41:55 -05:00
Jason Madden b0ff04c508
Moving main README to RTD. 2016-06-22 07:45:35 -05:00
Jason Madden ce8842225a
Remove a bunch of legacy ZODB code. Fixes #63. 2016-06-21 10:06:45 -05:00
Jason Madden 0118517c50
Rename main .txt files to .rst for better rendering on github. 2016-06-21 08:28:02 -05:00
Jason Madden 4c491d5f57
Minor changes to make the Oracle test suite pass on Py3.
Also fix #30 by adjusting the fetch count. This makes the tests pass on
Py2 as well. (Needed to be sure that packing worked in Py3 and so these
had to be fixed.)
2016-06-17 08:26:57 -05:00
Jason Madden 23d46e6e84
Switch to mysqlclient by default on Python 3 because it seems to be faster. 2016-06-16 18:00:38 -05:00
Jason Madden 9d10ff424f
Postgres tests work on Py3.
psycopg2 has a very nice strict handling of byte data on Py3.

An upside of this work is that we take advantage of the support for
BYTEA in the PG protocol and psycopg2 library and no longer base64
encode/decode all the binary data when talking to PG, which could come
with some performance benefits. It definitely reduces the code
duplication.
2016-06-16 17:03:51 -05:00
Jason Madden 97cff3a170
Attempt to get the setup metadata for Python 3 right and turn on travis for it. 2016-06-16 14:16:03 -05:00
Jason Madden 0cfed115bd
Add classifier indicating Python 2.7 support (only) [skip ci] 2016-06-15 16:16:20 -05:00
Jason Madden 920ee5027a
Pull in ZODB5 changes from #45 2016-06-14 16:38:01 -05:00
Jim Fulton 3a49a6b23e Updated the buildout configuration to just run relstorage tests and
to select which databases to use at build time.
2016-06-14 13:43:36 -04:00
Jason Madden a59c2772f1
clean up exception objects if import doesn't fail 2016-06-13 11:09:34 -05:00
Jason Madden d3c9c44b0c
Try using PEP496 environment markers for extra dependencies. 2016-06-13 10:40:32 -05:00
Jason Madden d16ac86ae1
Fix crash with PyMySQL >= 0.7 2016-06-13 10:06:31 -05:00
Jason Madden 457ebb6758
Pin PyMySQL to workaround https://github.com/PyMySQL/PyMySQL/issues/474 2016-06-13 09:34:00 -05:00
Jason Madden 2850e7e915
postgresql dependency for pypy 2016-06-13 08:39:49 -05:00
Jason Madden 593c5c0a9f
Integrate PyMySQL support. Properly disable the checkDropAndPrepare test for that platform; this looks like a bug in the driver but I'm having a hard time coming up with a reproducible test case. 2016-06-13 08:39:49 -05:00
Jason Madden b71047bb7a
Add explicit dependency on ZEO versions too. 2016-06-10 11:15:36 -05:00
Jason Madden f62b2f2111
Update ZODB dep so the tests consistently fail. Pin < 5 so we don't get unexpected incompatible changes. 2016-06-10 10:24:35 -05:00
Jason Madden 55436c7aaf Travis CI for MySQL and Postgres.
Adds .travis.yml and scripts for creating the DBs for those tests.
Travis is setup to send coverage reports to coveralls.io (once the tests
pass).

Also adds a tox.ini and .coveragerc for checking coverage locally.

Run the tests with '-m relstorage.tests.alltests', which now behaves
like the existing '-m relstorage.tests.testmysql' et al.

Fixes an issue running blob tests with '-m'.
2016-06-10 08:47:04 -05:00
Jason Madden 05c258a6fd version master for upcoming 1.7 2016-06-09 10:08:57 -05:00
Shane Hathaway 9dacfa56c5 Back to 1.6.0dev; updated README to point to Github instead of SVN. *facepalm* 2014-12-08 10:36:37 -07:00
Shane Hathaway 21775fcf78 Prep 1.6.0b3 2014-12-08 10:24:53 -07:00
Shane Hathaway 2df8f8df9a Speed up packing using cursor.fetchmany(). 2014-10-03 15:21:33 -06:00
Shane Hathaway 8b320e1a82 Release 1.6.0b1 2014-09-04 22:27:50 -06:00
Georges Dubus d0c5a0ef19 Add support for the ``postgres://``, ``mysql://`` and ``oracle://`` URI schemes for zodburi. 2013-05-03 16:40:25 +02:00
Shane Hathaway 5de017e2a1 Merge branch 'perfmetrics'
Conflicts:
	CHANGES.txt
	buildout.cfg
	relstorage/adapters/schema.py
	relstorage/storage.py
	setup.py
2013-03-17 15:24:47 -07:00
Shane Hathaway 8635200dc8 Add metrics of the main RelStorage class. 2012-09-03 14:46:16 -06:00
Shane Hathaway 76107d4c5c Added performance metrics using the perfmetrics package. 2012-09-01 17:09:16 -06:00
Shane Hathaway 7a0074906a back to dev 2011-11-12 17:24:33 +00:00