Skip to content

Commit

Permalink
Version is now "2.4.19".
Browse files Browse the repository at this point in the history
  • Loading branch information
genglert committed Oct 1, 2024
1 parent 3d19fda commit 59da29f
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 53 deletions.
128 changes: 80 additions & 48 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,29 +160,35 @@ orbs:
browser-tools: circleci/[email protected]

jobs:
python37-lint-isort:
# python37-lint-isort:
python38-lint-isort:
docker:
- image: cimg/python:3.7
# - image: cimg/python:3.7
- image: cimg/python:3.8
steps:
- checkout-creme
- install-creme-system-packages
- install-py-dev-env
- run: make -C << pipeline.parameters.source_path >> isort-check


python37-lint-flake8:
# python37-lint-flake8:
python38-lint-flake8:
docker:
- image: cimg/python:3.7
# - image: cimg/python:3.7
- image: cimg/python:3.8
steps:
- checkout-creme
- install-creme-system-packages
- install-py-dev-env
- run: flake8 << pipeline.parameters.source_path >>/creme/ --config << pipeline.parameters.source_path >>/setup.cfg


python37-tests-mysql:
# python37-tests-mysql:
python38-tests-mysql:
docker:
- image: cimg/python:3.7
# - image: cimg/python:3.7
- image: cimg/python:3.8
- image: cimg/mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: creme
Expand All @@ -204,9 +210,11 @@ jobs:
- run-creme-unit-tests


python37-tests-pgsql:
# python37-tests-pgsql:
python38-tests-pgsql:
docker:
- image: cimg/python:3.7
# - image: cimg/python:3.7
- image: cimg/python:3.8
- image: cimg/postgres:12.10
environment:
POSTGRES_USER: creme
Expand All @@ -228,25 +236,26 @@ jobs:
- run-creme-unit-tests


python37-tests-sqlite3:
docker:
- image: cimg/python:3.7
resource_class: large
steps:
- checkout-creme
- setup-locale:
language: fr_FR
encoding: UTF-8
- install-creme-system-packages
- install-py-dev-env
- create-creme-project
- setup-creme-unit-tests
- run-creme-unit-tests
# python37-tests-sqlite3:
# docker:
# - image: cimg/python:3.7
# resource_class: large
# steps:
# - checkout-creme
# - setup-locale:
# language: fr_FR
# encoding: UTF-8
# - install-creme-system-packages
# - install-py-dev-env
# - create-creme-project
# - setup-creme-unit-tests
# - run-creme-unit-tests


run-coverage:
docker:
- image: cimg/python:3.7
# - image: cimg/python:3.7
- image: cimg/python:3.8
- image: cimg/postgres:12.10
environment:
POSTGRES_USER: creme
Expand Down Expand Up @@ -318,7 +327,8 @@ jobs:

javascript-lint:
docker:
- image: cimg/python:3.7-node
# - image: cimg/python:3.7-node
- image: cimg/python:3.8-node
steps:
- checkout-creme
- install-creme-system-packages
Expand Down Expand Up @@ -354,7 +364,8 @@ jobs:
javascript-tests:
docker:
- image: cimg/python:3.7-browsers
# - image: cimg/python:3.7-browsers
- image: cimg/python:3.8-browsers
steps:
- browser-tools/install-browser-tools
- checkout-creme
Expand Down Expand Up @@ -415,7 +426,8 @@ jobs:

creme-package:
docker:
- image: cimg/python:3.7
# - image: cimg/python:3.7
- image: cimg/python:3.8
steps:
- checkout-creme
- run: pip install -U pip setuptools wheel
Expand Down Expand Up @@ -458,47 +470,64 @@ workflows:
only: /.*/
requires:
- javascript-lint
- python37-lint-isort:
# - python37-lint-isort:
- python38-lint-isort:
filters:
tags:
only: /.*/
- python37-lint-flake8:
# - python37-lint-flake8:
- python38-lint-flake8:
filters:
tags:
only: /.*/
- python37-tests-mysql:
# - python37-tests-mysql:
- python38-tests-mysql:
filters:
tags:
only: /.*/
requires:
- python37-lint-isort
- python37-lint-flake8
- python37-tests-pgsql:
# - python37-lint-isort
- python38-lint-isort
# - python37-lint-flake8
- python38-lint-flake8
# - python37-tests-pgsql:
- python38-tests-pgsql:
filters:
tags:
only: /.*/
requires:
- python37-lint-isort
- python37-lint-flake8
- python37-tests-sqlite3:
# - python37-lint-isort
- python38-lint-isort
# - python37-lint-flake8
- python38-lint-flake8
# - python37-tests-sqlite3:
# filters:
# tags:
# only: /.*/
# requires:
# - python37-lint-isort
# - python37-lint-flake8
- python38-tests-sqlite3:
filters:
tags:
only: /.*/
requires:
- python37-lint-isort
- python37-lint-flake8
- python38-tests-sqlite3:
requires:
- python37-lint-isort
- python37-lint-flake8
# - python37-lint-isort
- python38-lint-isort
# - python37-lint-flake8
- python38-lint-flake8
- python39-tests-sqlite3:
requires:
- python37-lint-isort
- python37-lint-flake8
# - python37-lint-isort
- python38-lint-isort
# - python37-lint-flake8
- python38-lint-flake8
- python310-tests-sqlite3:
requires:
- python37-lint-isort
- python37-lint-flake8
# - python37-lint-isort
- python38-lint-isort
# - python37-lint-flake8
- python38-lint-flake8
# - docker-build-creme-demo:
# filters:
# tags:
Expand All @@ -523,6 +552,9 @@ workflows:
ignore: /.*/
requires:
- javascript-tests
- python37-tests-sqlite3
- python37-tests-mysql
- python37-tests-pgsql
# - python37-tests-sqlite3
- python38-tests-sqlite3
# - python37-tests-mysql
- python38-tests-mysql
# - python37-tests-pgsql
- python38-tests-pgsql
4 changes: 3 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
== Version 2.4.19 Work in progress (not released -- this is a draft) ==
== Version 2.4.19 ==

Users side :
------------
# The support of Python 3.7 has been dropped; it's the end of life for Python 3.8
so it should not annoy anybody.
# Several issues in the job scheduler has been fixed for periodic jobs :
- The start date of the jobs depended on the hour the command "creme_job_manager" has started.
- Some useless extra runs have been removed.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ virtual env, in order to keep the old one working).

### Dependencies

- Python 3.7+
- Python 3.8+
- MySQL 5.7+ (or MariaDB 10.2+) or PostGreSQL 9.6+ (or SQLite which is included with Python)
- A web server compatible with Python, like Apache 2.4
- Redis 3+
Expand Down
2 changes: 1 addition & 1 deletion creme/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '2.4.18'
__version__ = '2.4.19'


def get_version():
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ classifiers =
Natural Language :: English
Natural Language :: French
Operating System :: OS Independent
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -35,7 +34,7 @@ project_urls =
Tracker = https://github.com/HybirdCorp/creme_crm/issues

[options]
python_requires = >=3.7
python_requires = >=3.8
zip_safe = False
include_package_data = True
packages = find:
Expand Down

0 comments on commit 59da29f

Please sign in to comment.