Lars Butler
35a0142f9b
setup.py, tox.ini: move nose/rednose from install deps to test deps
...
Remove nose/rednose from `setup_requires` and instead declare them in
`tests_require`. Also explicitly add `nose` and `rednose` to
dependencies list in tox.ini (to avoid breaking test runs).
`python setup.py nosetests` is the preferred way for running tests, and
this works, except that placing test deps (nose/rednose) in the
`setup_requires` also means that these dependencies are pulled in for
installs of mongoengine. These deps are not actually be required just
to run mongoengine, so setup.py should not force users to install these
dependencies.
This refactoring should not change any test run semantics.
2015-10-12 10:13:11 +02:00
Matthieu Rigal
cd76a906f4
Set coverage to specific version as 4+ is not Python 3.2 compatible
2015-06-24 00:49:39 +02:00
Axel Haustant
91ee85152c
Tests/Tox/TravisCI improvements
2015-04-28 20:19:56 +02:00
Matthew Ellison
7530f03bf6
Removed Django Support from MongoEngine
...
Django support has now been split out of MongoEngine and will be
revisted as a new but separate module.
Closes #958
2015-04-24 13:50:26 -04:00
Omer Katz
cbd2a44350
Changed an invalid classifier to a valid one.
2015-03-28 11:34:22 +03:00
Clay McClure
74bd7c3744
Include preliminary support for text indexes
...
To index a text field, prefix the field name with `$`, as in `$title`.
2014-06-27 14:48:32 -04:00
Ross Lawley
d1d5972277
Removed support for old versions
...
- Removing support for Django 1.4.x, pymongo 2.5.x, pymongo 2.6.x.
- Removing support for Python < 2.6.6
2014-06-26 16:34:02 +01:00
Ross Lawley
bb1367cfb9
Merge branch 'master' into pr/674
2014-06-26 16:22:21 +01:00
Ross Lawley
caba444962
Merge branch '0.9' into pr/673
...
Conflicts:
.travis.yml
2014-06-26 16:11:12 +01:00
Ross Lawley
dd51589f67
Updates
2014-06-26 16:02:40 +01:00
Omer Katz
67a65a2aa9
Installing unittest2 on Python 2.6.
2014-06-26 11:17:57 +03:00
Omer Katz
bb461b009f
Travis build improvements.
...
The latest patch version of each Django minor version is used.
The build now installs existing pymongo versions.
The build now actually tests against the specified Django version.
Replaced PIL with Pillow.
Added PyPy and Python 3.4 to the build.
Rebase Log:
Installing Pillow instead of PIL for testing since it's recommended and it supports PyPy.
Excluding Django versions that do not work with Python 3.
Improved formatting of .travis.yml.
Specifying Pillow 2.0.0 and above since it's the first version that is supported in Python 3.
PIL should not be installed alongside Pillow.
Also, I installed some libraries that both PIL and Pillow depend on.
It seems I have to be explicit on all envvars in order to exclude Django 1.4 from the build matrix.
The build is now installing pymongo versions that actually exist.
openjpeg has a different name on Ubuntu 12.04.
Restoring libz hack.
Also installing all Pillow requirements just in case.
Fixed the build matrix.
Acting according to @BanzaiMan's advice in travis-ci/travis-ci/#1492.
2014-06-25 10:40:28 +03:00
Ross Lawley
bcbe740598
Updated setup.py
2013-08-23 13:41:15 +00:00
Ross Lawley
a0ef649dd8
Update travis.yml
2013-08-20 18:31:33 +00:00
Ross Lawley
2cd722d751
Updated setup.py
2013-08-20 10:20:05 +00:00
Ross Lawley
a1d142d3a4
Prep for django and py3 support
2013-07-10 08:38:13 +00:00
Ross Lawley
4244e7569b
Added pre_save_post_validation signal ( #345 )
2013-06-04 09:35:44 +00:00
Ross Lawley
5447c6e947
DateTimeField now auto converts valid datetime isostrings into dates ( #343 )
2013-06-04 09:08:13 +00:00
Ross Lawley
3ffc9dffc2
Updated requirements for test suite
2013-05-21 09:37:22 +00:00
Ross Lawley
9251ce312b
Querysets now utilises a local cache
...
Changed __len__ behavour in the queryset (#247 , #311 )
2013-05-10 13:57:32 +00:00
Ross Lawley
7aa1f47378
Updated minimum requirements
2013-04-30 16:46:08 +00:00
Ross Lawley
10731b0fd8
Merge remote-tracking branch 'origin/pr/285' into p285
2013-04-25 11:18:21 +00:00
Ross Lawley
1e1e48732a
Update setup.py python versions / langauge in changelog
2013-04-23 15:33:38 +00:00
Ross Lawley
3537897fc5
Update build assets for PY3
2013-04-23 15:32:10 +00:00
Nicolas Cortot
681b74a41c
Travis: adding Django-1.5.1 to env
2013-04-19 19:08:53 +02:00
Ross Lawley
04b85ddbf2
Merge branch 'master' into 0.8
...
Conflicts:
.travis.yml
AUTHORS
docs/changelog.rst
mongoengine/base.py
mongoengine/queryset.py
tests/queryset/queryset.py
2013-04-12 13:36:29 +00:00
Ross Lawley
19a7372ff9
Fix test_require for Django
2013-04-12 10:32:50 +00:00
Ross Lawley
cc5b60b004
Updated pymongo versions and pillow wont work
2013-04-12 10:30:52 +00:00
Ross Lawley
b06f9dbf8d
Travis travis travis
2013-04-12 10:02:55 +00:00
Ross Lawley
0f9e4ef352
Add mongoengine.png asset in the build
2013-01-04 16:27:58 +00:00
Marcelo Anton
59826c8cfd
This change in how the variable is declared DESCRIPTION corrects problems
...
when running the command ``python setup.py bdist_rpm``
2012-10-18 11:44:18 -03:00
Ross Lawley
1cf3989664
Updated setup.py
2012-09-04 08:10:56 +01:00
Ross Lawley
6e7f2b73cf
Fix VERSION
2012-08-24 16:36:17 +01:00
Ross Lawley
d645ce9745
Updated version calculation
2012-08-24 15:08:37 +01:00
Ross Lawley
dd4af2df81
Python 2.5 and 3.1 support confirmed
2012-08-07 13:07:51 +01:00
Laine
91aa90ad4a
Added Python 3 support to MongoEngine
2012-08-01 17:21:48 -07:00
Alexander Koshelev
0d92baa670
Exclude tests from installation
2012-06-24 03:08:49 +04:00
Ross Lawley
ece9b902f8
Setup.py cleanups
2012-05-29 17:32:14 +01:00
Ross Lawley
9c212306b8
Updated setup / added datetime test
2012-05-29 16:24:25 +01:00
Ross Lawley
dbe2f5f2b8
Updated setup.py
2012-05-01 11:48:57 +01:00
Ross Lawley
ca8b58d66d
Fixed indexing on _id for covered indexes
...
fixes #4
2012-05-01 11:27:37 +01:00
Ross Lawley
6ecdc7b59d
Added FutureWarning for inherited classes not declaring allow_inheritance
...
Refs #437
2012-03-05 11:25:13 +00:00
Ross Lawley
f60a49d6f6
Added .scalar to Queryset
...
More efficient than the previous .values_list implementation Ref #393
Reverted some of the .values_list code thats no longer needed.
Closes #415
2012-01-27 11:45:12 +00:00
Ross Lawley
56d1139d71
Added ImageField Support
...
Thanks to @wpjunior for the patch
Closes [#298 ]
2011-10-27 00:58:47 -07:00
Wilson Júnior
3d817f145c
fixes for #315 issue
2011-10-12 18:28:40 -03:00
Ross Lawley
62c8823e64
Fixing requirements
...
Test requirements are not install requirements!
2011-06-17 11:39:53 +01:00
Ross Lawley
fd7f882011
Save no longer tramples over documents now sets or unsets explicit fields.
...
Fixes #146 , refs #18
Thanks @zhangcheng for the initial code
2011-06-09 16:09:06 +01:00
Ross Lawley
199b4eb860
Added django_tests and regression test for order_by
...
Refs #190
2011-06-09 12:08:37 +01:00
Ross Lawley
0708d1bedc
Run all tests...
2011-05-25 09:34:50 +01:00
Ross Lawley
c3a8840435
Blinker signals added
2011-05-24 20:27:19 +01:00