Skip to content

Commit

Permalink
chore: prepare new major release (drop py32, introduce py35)
Browse files Browse the repository at this point in the history
* update list of trove classifiers
* bump major version number
* update CI configuration to support py35 (Travis)
* update README
  • Loading branch information
swistakm committed Aug 29, 2016
1 parent 6b6528e commit 45250c5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
sudo: false
language: python

# note: this will make python3.5 available during testing because it is
# not available by defaut at the time of this writing
python:
- 3.5

install: pip install tox --use-mirrors
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py32
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=py35
- TOX_ENV=pypy
- TOX_ENV=pypy3
- TOX_ENV=pep8
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
# solrq
`solrq` is a Python Solr query utility. It helps making query strings for Solr
and also helps with escaping reserved characters. `solrq` is has no external
dependencies and is compatibile with `python2.6`, `python2.7`, `python3.2`,
`python3.3`, `python3.4`, `pypy` and `pypy3` . It might be compatibile with
other python releases/implentations but this has not been tested yet.
dependencies and is compatibile with `python2.6`, `python2.7`,
`python3.3`, `python3.4`, `python3.5`, `pypy` and `pypy3`.
It might be compatibile with other python releases/implentations but this has
not been tested yet or is no longer tested (e.g `python3.2`).

pip install solrq

Expand Down Expand Up @@ -139,7 +140,7 @@ Simply as:
```python
>>> from datetime import datetime, timedelta
>>> Q(date=datetime(1970, 1, 1))
<Q: date:"1970-01-01T00:00:00">
<Q: date:"1970-01-01T00:00:00Z">
>>> # note that timedeltas has any sense mostly with ranges
>>> Q(delta=timedelta(days=1))
<Q: delta:NOW+1DAYS+0SECONDS+0MILLISECONDS>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def read_md(f):
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
],
Expand Down
2 changes: 1 addition & 1 deletion src/solrq/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
VERSION = (0, 0, 5) # PEP 386 # noqa
VERSION = (1, 0, 0) # PEP 386 # noqa
__version__ = ".".join([str(x) for x in VERSION]) # noqa

import re
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py26,py27,py32,py33,py34,pypy,pypy3,pep8,coverage
envlist = py26,py27,py33,py34,py35,pypy,pypy3,pep8,coverage

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
Expand Down

0 comments on commit 45250c5

Please sign in to comment.