Commit graph

32 commits

Author SHA1 Message Date
Baptiste Jonglez
73f014e90e CI: Move lint and docs to separate action for readability
Currently, linting is done in one specific job of the big test Matrix, and
it's very easy to overlook.  But we want linting to be the first thing to fix.

Also reorganize and rename jobs for readability.

Finally, use python 3.11 for lint/docs because python 3.12 seems to break dev install.
2024-03-25 20:46:39 +01:00
Éloi Rivard
edefb51cfb
move from setuptools to hatch (#1258)
Co-authored-by: Alexis Métaireau <alexis@notmyidea.org>
2023-12-12 14:20:34 +01:00
Éloi Rivard
8bce025c15 chore: support for python 3.12 2023-11-23 23:08:39 +01:00
Éloi Rivard
15c43f496e
chore: remove travis configuration (#1216) 2023-08-13 02:17:09 +02:00
Éloi Rivard
8d4584d660 feat: project RSS feed. 2023-07-28 15:22:55 +02:00
Baptiste Jonglez
2d5240d3d6 Use fixed version of important dev tools to avoid failing CI
Also use the "black" profile for isort.
2023-01-31 17:58:16 +01:00
Baptiste Jonglez
f933776fdc CI: move vermin check to tox config 2023-01-31 17:58:16 +01:00
Glandos
d8b6355101
Update Python (#1083)
* drop python3.6

* update github python actions and use pip cache

* we use setup.cfg not requirements.txt

* add python 3.11. Still in RC for now

* use latest 3.11 version

* 3.11 is strill RC for now

* go back to include key that match original py version

this shouldn't fail

* upgrade psycopg2 for python 3.11

Upgrade for all, it's a minor version

* update documentation for python 3.11 support

* update version

* 3.11 is out

Right on time!
2022-11-08 00:10:21 +01:00
Youe Graillot
acb2799575
Production ready docker (#919)
* /healthcheck endpoint usefull for monitoring, ci test also uses this
* customizable PORT with environment variable
* customizable PUID/PGID, reduce attack surface and allow better integration in rootless environments
* size optimization
* update to python 3.10
* add postgresql compatibility
* PUID/PGID default as root to not break current user environments
2021-11-25 08:23:23 +01:00
Baptiste Jonglez
7ceb66f01b Enable CI builds with postgresql and mariadb 2021-07-10 00:39:54 +02:00
Glandos
45f4d8f8b0 Using one job for all linting and doc generation
Requirements for doc are now an extra require in setup.cfg
2021-06-03 22:35:49 +02:00
3796076413
Remove obsolete isort flags (#740) 2021-04-11 17:52:21 +02:00
Miguel Victoria Villaquiran
18068d76ca
Simplify tests (#685)
Fix #501
2021-01-05 22:17:26 +01:00
Glandos
3f4b47276e Set black target to python3.6 2020-11-25 09:25:36 +01:00
Glandos
0380521b4a Add python3.9 support 2020-11-24 22:52:46 +01:00
Rémy HUBSCHER
7587e292fb
Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00
Rémy HUBSCHER
299c64a48c
Add isort support. (#561) 2020-04-21 13:59:41 +02:00
Rémy HUBSCHER
5d3266873e
Update known working set. (#558)
* Update known working set.

* Pin dependencies in setup.cfg.

* Cleanup Makefile.

* Try the python_version trick.
2020-04-21 10:30:13 +02:00
dc05d1cd17 Add black in the tox matrix. 2019-10-14 21:20:38 +02:00
480939afe5 Remove support for python2.
In the same move :
- use a setup.cfg file for packaging
- remove the use of six
2019-10-11 19:52:37 +02:00
Brice Maron
34da65d412 remove compatibility of py34 2019-09-08 19:14:43 +02:00
Rémy HUBSCHER
8ed92c279f
Fix requirements.txt file.
You can't use both build-requirements to keep known version set and load setup.py from the same requirements, it doesn't make any sense.
2019-02-20 10:01:59 +01:00
Rémy HUBSCHER
e63734b0b8
Update tox.ini 2019-02-20 07:57:14 +01:00
JocelynDelalande
2019b398f1 manage commands testing (#313)
* Rename manage.ConfigTemplate → manage.GenerateConfig

To be consistent with the CLI name: `generate-config`.

* Add tests for manage.py commands

* Run tests from pip-installed package

To be able to detect packaging-related issues on test runs.

refs #305
2018-01-07 00:27:42 +01:00
74e9af59e6 Fix Travis-CI integration (#276)
Use tox-travis to solve the current issues with Travis-CI
2017-10-23 22:58:04 +02:00
0livd
75104d9c19 Add python 3.6 support (#259)
Closes #253
2017-08-20 12:21:59 +02:00
3a4282fd75 Absolute imports & some other improvements (#243)
* Use absolute imports and rename package to ihatemoney
* Add a ihatemoney command
* Factorize application creation logic
* Refactor the tests
* Update the wsgi.py module with the new create_app() function
* Fix some styling thanks to Flake8.
* Automate Flake8 check in the CI.
2017-07-07 00:06:56 +02:00
0e374cd5e0 Make all imports relative (#229)
* Make all imports relative

* Change the way the application runs in the Makefile

* Import the default settings relatively

* Fix manage.py imports
2017-06-28 21:36:02 +02:00
0livd
fb84135fe5 Move tests to budget.tests (#205)
* Move tests to budget.tests

Update tox.ini to call the unittest dicovery module
Closes #196

* Fix typo in Readme
2017-04-22 23:07:24 +02:00
Jocelyn Delalande
dfe8297fae Add Python 3.4 support
Note that py3.4 is the version shipped in current Debian version (Jessie).
2017-03-29 11:21:39 +02:00
aaf9f9f237 @JocelynDelalande's review 2017-03-28 20:25:23 +02:00
42c9af528f Add tox support. 2017-03-28 17:50:11 +02:00