Skip to content

Commit

Permalink
Merge pull request #106 from sdementen/feature/py3-gnucash3
Browse files Browse the repository at this point in the history
Feature/py3 gnucash3
  • Loading branch information
sdementen committed Apr 15, 2019
2 parents 1ed1083 + 2953a51 commit 520024e
Show file tree
Hide file tree
Showing 65 changed files with 1,826 additions and 625 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dist: xenial
language: python
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- '3.7'
services:
- postgresql
- mysql
Expand All @@ -13,7 +13,7 @@ install:
- hash -r
- pip install pipenv==11.0.2
- pipenv install -e .[test] --ignore-pipfile
- locale-gen en_US.UTF-8
# - locale-gen en_US.UTF-8

script:
- python setup.py test
Expand All @@ -30,4 +30,4 @@ deploy:
distributions: sdist bdist_wheel
repo: sdementen/piecash
all_branches: master
condition: $PYTHON_VERSION=3.5
condition: $PYTHON_VERSION=3.6
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
What's new
==========

Version 1.0.0 (2019-04-15)
~~~~~~~~~~~~~~~~~~~~~~~~~~

- drop support of py27 and py34
- support gnucash 3.0.x format (code + test and book migration)
- set autoflush to False for open_book (was only done for create_book before) (fix #93)
- remove tz info when serialising DateTime to SQL (issue with postgresql doing some TZ conversion)
- add basic support for Jobs


Version 0.18.0 (2018-04-24)
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
16 changes: 10 additions & 6 deletions DEVELOPER.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@ Some note for developers:

python setup.py sdist

- to regenerate the requirements-dev.txt used by rtd::

requirements-dev.txt

- to upload file on PyPI::

twine upload dist\piecash-0.13.0.tar.gz
python setup.py sdist upload

- to generate the modules `modules.rst` and `piecash.rst` in the docs\source\doc folder, go to the docs\source\doc folder and::

Expand All @@ -30,8 +26,8 @@ Some note for developers:

- to test via tox and conda, create first the different environment with the relevant versions of python::

conda create -n py27 python=2.7 virtualenv
conda create -n py35 python=3.5 virtualenv
conda create -n py36 python=3.6 virtualenv
...

adapt tox.ini to point to the proper conda envs and then run::
Expand All @@ -43,3 +39,11 @@ Some note for developers:
2. update changelog
3. `tag MM.mm.pp`
4. python setup.py sdist upload

- to release a new version with gitflow:
0. git flow release start 0.18.0
1. update metadata.py
2. update changelog
3. git flow release finish
4. checkout master branch in git
5. python setup.py sdist upload
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ global-exclude *.pyc

# Setup-related things
include pavement.py
include requirements-dev.txt
include requirements.txt
include setup.py
include tox.ini

Expand Down
3 changes: 1 addition & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ sqlalchemy-utils = "*"
pytz = "*"
tzlocal = "*"
click = "*"
"enum34" = {markers="python_version < '3.4'"}


[dev-packages]

tox-pipenv = "*"
"psycopg2" = "*"
pymysql = "*"
pandas = "*"
pandas = "==0.21.1"
qifparse = "*"
requests = "*"
pytest = "*"
Expand Down

0 comments on commit 520024e

Please sign in to comment.