Commit Graph

158 Commits

Author SHA1 Message Date
Frédéric Péters 6d19c336f9 pylint: remove obsolete options 2022-07-06 13:04:36 +02:00
Frédéric Péters 55587cea46 debian: switch to debhelper-compat 12 (#57538) 2022-07-06 13:01:26 +02:00
Frédéric Péters 311aa1d761 debian/trivial: apply pre-commit-debian 2022-07-06 12:56:53 +02:00
Frédéric Péters b0f9b8e666 misc: add pre-commit-debian 2022-07-06 12:56:34 +02:00
Frédéric Péters f6c66cf343 ci: build for both buster and bullseye (#67061) 2022-07-06 12:54:53 +02:00
Benjamin Dauvergne 75ce199ce1 Fix tests... 2022-05-02 12:15:34 +02:00
Benjamin Dauvergne cc6a534ba4 Use verify=True to remove requests warnings 2022-04-30 12:57:46 +02:00
Benjamin Dauvergne 9f183d7e0a clean: remove files and take partner's info on command line 2022-04-29 23:40:50 +02:00
Benjamin Dauvergne aed59546fc misc: fix typo PETALE_AUTHENTIC_CREDS -> PETALE_AUTHENTIC_AUTH (#646950 2022-04-29 11:51:45 +02:00
Benjamin Dauvergne 3fe60f226c tox.ini: remove limitation on django-webtest (#64695) 2022-04-29 11:51:42 +02:00
Benjamin Dauvergne 16ba0f649e tox.ini: do not fail on ImportWarning from six (#64695) 2022-04-29 11:51:34 +02:00
Thomas NOËL f34a68765b trivial: bump black version to 22.3.0 2022-03-31 12:56:37 +02:00
Benjamin Dauvergne b49f8dc0c8 misc: add clean command (#60348)
Delete CUT and Petal models for deleted GLC accounts.
2022-03-17 19:03:31 +01:00
Benjamin Dauvergne 4c28f24b68 tox: add check-migrations environment 2022-03-17 18:53:36 +01:00
Benjamin Dauvergne af7e404f84 tox: fix pylint 2022-03-10 17:14:41 +01:00
Benjamin Dauvergne 2ce0cf927e tox: add code-style target 2022-03-10 17:01:25 +01:00
Benjamin Dauvergne 283a0eae60 misc: remove byte strings in migrations 2022-03-10 16:57:24 +01:00
Benjamin Dauvergne b5bd134d69 setup.py: limit compatibility to django<2.3 2022-03-10 16:57:23 +01:00
Benjamin Dauvergne 7c5c732388 tox: add manage target 2022-03-10 16:57:23 +01:00
Frédéric Péters 7094728b47 trivial: remove python 2 from classifiers 2022-02-02 08:09:56 +01:00
Nicolas Roche 01c0e80fc0 tests: add context managers required by python3 (#60657) 2022-01-14 10:59:09 +01:00
Frédéric Péters 9723596999 jenkins: use python3 to get a port for postgresql (#60467) 2022-01-10 17:33:17 +01:00
Frédéric Péters 2251721204 tox: switch pylint to use python3 2021-12-15 08:27:17 +01:00
Frédéric Péters 608193932d tox: stop testing against django 1.11 2021-12-15 08:26:57 +01:00
Frédéric Péters 20f20c73cb tox: limit psycopg2 to < 2.9 (#54925) 2021-06-17 08:50:04 +02:00
Frédéric Péters 9af76d7ed5 debian: enable uwsgi memory reports (#54610) 2021-06-06 10:34:44 +02:00
Frédéric Péters 4183b023de build: update to use origin/main 2020-12-26 15:21:16 +01:00
Benjamin Dauvergne 808ce209bc tox.ini: add warning filters 2020-11-27 15:35:43 +01:00
Benjamin Dauvergne 7d7ddd93c6 tox.ini: remove py3 support, set default drf version to 3.9 2020-11-27 10:38:56 +01:00
Benjamin Dauvergne e9ba12bc87 Jenkinsfile: always clean build directories 2020-11-27 10:14:30 +01:00
Frédéric Péters b28fe29d5e tox: limit drf version when testing against django 1.11 2020-10-06 09:31:38 +02:00
Frédéric Péters 78f7e86f75 tox: limit mock version for compatibility with python 3.5 2020-10-06 09:30:25 +02:00
Valentin Deniaud 91c77f1b88 tox: tell setuptools to use distutils from stdlib (#46252) 2020-09-01 14:38:06 +02:00
Benjamin Dauvergne 97c483172a Jenkinsfile: use virtualenv and pg_virtualenv 2020-05-16 12:31:03 +02:00
Benjamin Dauvergne 75dc1f103b api_views: use atomicwrites for writing petale content (#41379) 2020-04-09 13:09:57 +02:00
Benjamin Dauvergne 7b292a2c17 api_views: use loop to prevent NFS errors on GET (#41379)
File can disapear more frequently on NFS as open() is not atomic (NFS filehandle
refers to an inode but they don't lock it like an open file descriptor).
2020-04-09 13:09:57 +02:00
Benjamin Dauvergne 9a2c6b23ed tests: test concurrent GET / PUT (#41379)
Also check we do not leak petal files during PUT.
2020-04-09 13:09:57 +02:00
Benjamin Dauvergne 763559042f release 1.2 2020-04-08 13:41:18 +02:00
Benjamin Dauvergne 37a0101e38 debian: prevent install of python-petale (#41302) 2020-04-07 21:02:54 +02:00
Benjamin Dauvergne 571965f35e debian: adapt debian_config.py for Python 3 (#41302) 2020-04-07 21:01:14 +02:00
Benjamin Dauvergne 93ccbc1c39 debian: python3 packaging (#41374) 2020-04-07 10:17:56 +02:00
Nicolas Roche e030f6723f python3: pass strings to json.loads, for py3.5 compatibility (#41302) 2020-04-06 14:41:10 +02:00
Benjamin Dauvergne b1e015a398 misc: style (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 4524cb32e0 misc: python3 compatibility (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne f7d4dc6b1b dj111: use MIDDLEWARE (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 3100df5004 dj111: do not use include (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 34d434e557 dj111: set on_delete=models.CASCADE (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 51585f6290 tests: remove warning on Element.getchildren() (#41302) 2020-04-06 14:06:40 +02:00
Benjamin Dauvergne 80bdcd9c09 tox.ini: add py3 run (#41302) 2020-04-06 14:06:30 +02:00
Frédéric Péters 4283c9817b tox: limit tests to django 1.11 (#41290) 2020-04-03 09:00:00 +02:00