Skip to content

Commit f948fb3

Browse files
Build: Drop support for Python 3.7
1 parent 38fbe25 commit f948fb3

File tree

14 files changed

+63
-46
lines changed

14 files changed

+63
-46
lines changed

.auto-changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"tagPrefix": "bluepyparallel-v",
55
"commitLimit": false,
66
"backfillLimit": false,
7-
"ignoreCommitPattern": "Release:? [0-9]+\\.[0-9]+\\.[0-9]+|Update CHANGELOG.*|.*\\[skip-changelog\\].*|\\[pre-commit.ci\\]",
7+
"ignoreCommitPattern": "^Release:? [0-9]+\\.[0-9]+\\.[0-9]+$|^Update CHANGELOG.*|.*\\[skip-changelog\\].*|^\\[pre-commit.ci\\]|^\\(dependabot\\) .*",
88
"commitUrl": "https://bbpgitlab.epfl.ch/neuromath/bluepyparallel/commit/{id}",
99
"issueUrl": "https://bbpgitlab.epfl.ch/neuromath/bluepyparallel/issues/{id}",
1010
"mergeUrl": "https://bbpgitlab.epfl.ch/neuromath/bluepyparallel/merge_requests/{id}",

.auto-changelog-template.hbs

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Example Definitions
3333
"([bB]reaking change:)": "",
3434
"(^[bB]uild:)": "",
3535
"(^[bB]uild\\()": "\\(",
36+
"(^[dD]eprecate:)": "",
37+
"(^[dD]eprecate\\()": "\\(",
3638
"(^[fF]eat:)": "",
3739
"(^[fF]eat\\()": "\\(",
3840
"(^[fF]ix:)": "",
@@ -84,7 +86,7 @@ Example Definitions
8486
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{commit.subject}}{{#each fixes}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}}){{/each}}
8587
{{/each}}
8688

87-
{{! List commits with 'breaking:' or 'Breaking change:' anywhere in the message under a heading}}
89+
{{! List merge commits with 'breaking:' or 'Breaking change:' anywhere in the message under a heading}}
8890
{{#commit-list merges heading='### Breaking Changes :warning:' message='[bB]reaking [cC]hange:|[bB]reaking:' exclude='\[skip-changelog\]'}}
8991
- {{message}} @{{author}} <!--[`#{{id}}`]({{href}}) -->
9092
{{/commit-list}}
@@ -94,6 +96,10 @@ Example Definitions
9496
- {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
9597
{{/commit-list}}
9698

99+
{{#commit-list merges heading='### Deprecated Features' message='^[dD]eprecate:|^[dD]eprecate\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
100+
- {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
101+
{{/commit-list}}
102+
97103
{{#commit-list merges heading='### New Features' message='^[fF]eat:|^[fF]eat\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
98104
- {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
99105
{{/commit-list}}
@@ -130,7 +136,7 @@ Example Definitions
130136
- {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
131137
{{/commit-list}}
132138

133-
{{#commit-list merges heading='### General Changes' exclude='[bB]reaking [cC]hange:|[bB]reaking:|^[bB]uild:|^[bB]uild\(|^[fF]eat:|^[fF]eat\(|^[fF]ix:|^[fF]ix\(|^[cC]hore:|^[cC]hore\(|^[cC][iI]:|^[cC][iI]\(|^[dD]ocs:|^[dD]ocs\(|^[rR]efactor:|^[rR]efactor\(|^[tT]est:|^[tT]est\(|^[sS]tyle:|^[sS]tyle\(|^[pP]erf:|^[pP]erf\(|\[skip-changelog\]'}}
139+
{{#commit-list merges heading='### General Changes' exclude='[bB]reaking [cC]hange:|[bB]reaking:|^[bB]uild:|^[bB]uild\(|^[dD]eprecate:|^[dD]eprecate\(|^[fF]eat:|^[fF]eat\(|^[fF]ix:|^[fF]ix\(|^[cC]hore:|^[cC]hore\(|^[cC][iI]:|^[cC][iI]\(|^[dD]ocs:|^[dD]ocs\(|^[rR]efactor:|^[rR]efactor\(|^[tT]est:|^[tT]est\(|^[sS]tyle:|^[sS]tyle\(|^[pP]erf:|^[pP]erf\(|\[skip-changelog\]'}}
134140
- {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
135141
{{/commit-list}}
136142

@@ -144,6 +150,10 @@ Example Definitions
144150
- {{subject}} ({{author}}{{#if href}} - [{{shorthash}}]({{href}}){{/if}})
145151
{{/commit-list}}
146152

153+
{{#commit-list commits heading='### Deprecated Features' message='^[dD]eprecate:|^[dD]eprecate\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
154+
- {{subject}} ({{author}}{{#if href}} - [{{shorthash}}]({{href}}){{/if}})
155+
{{/commit-list}}
156+
147157
{{#commit-list commits heading='### New Features' message='^[fF]eat:|^[fF]eat\(' exclude='[bB]reaking [cC]hange:|[bB]reaking:|\[skip-changelog\]'}}
148158
- {{subject}} ({{author}}{{#if href}} - [{{shorthash}}]({{href}}){{/if}})
149159
{{/commit-list}}
@@ -180,7 +190,7 @@ Example Definitions
180190
- {{subject}} ({{author}}{{#if href}} - [{{shorthash}}]({{href}}){{/if}})
181191
{{/commit-list}}
182192

183-
{{#commit-list commits heading='### General Changes' exclude='[bB]reaking [cC]hange:|[bB]reaking:|^[bB]uild:|^[bB]uild\(|^[fF]eat:|^[fF]eat\(|^[fF]ix:|^[fF]ix\(|^[cC]hore:|^[cC]hore\(|^[cC][iI]:|^[cC][iI]\(|^[dD]ocs:|^[dD]ocs\(|^[rR]efactor:|^[rR]efactor\(|^[tT]est:|^[tT]est\(|^[sS]tyle:|^[sS]tyle\(|^[pP]erf:|^[pP]erf\(|\[skip-changelog\]'}}
193+
{{#commit-list commits heading='### General Changes' exclude='[bB]reaking [cC]hange:|[bB]reaking:|^[bB]uild:|^[bB]uild\(|^[dD]eprecate:|^[dD]eprecate\(|^[fF]eat:|^[fF]eat\(|^[fF]ix:|^[fF]ix\(|^[cC]hore:|^[cC]hore\(|^[cC][iI]:|^[cC][iI]\(|^[dD]ocs:|^[dD]ocs\(|^[rR]efactor:|^[rR]efactor\(|^[tT]est:|^[tT]est\(|^[sS]tyle:|^[sS]tyle\(|^[pP]erf:|^[pP]erf\(|\[skip-changelog\]'}}
184194
- {{subject}} ({{author}}{{#if href}} - [{{shorthash}}]({{href}}){{/if}})
185195
{{/commit-list}}
186196

.copier-answers.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changes here will be overwritten by Copier
22

3-
_commit: 0.1.35
3+
_commit: 0.1.52
44
_src_path: [email protected]:neuromath/python-template.git
55
author_email: [email protected]
66
author_name: bbp-ou-cells
@@ -17,10 +17,11 @@ project_url: https://bbpteam.epfl.ch/documentation/projects/bluepyparallel
1717
repository_name: bluepyparallel
1818
repository_namespace: neuromath
1919
repository_provider: gitlab
20+
setup_codeql: false
2021
ssh_url: [email protected]:neuromath/bluepyparallel.git
21-
support_py37: true
2222
team_name: neuromath
2323
tracker_url: https://bbpteam.epfl.ch/project/issues/projects/CELLS/issues
24+
use_pyproject_toml: false
2425
version: 0.0.9.dev0
2526

2627
# End of Copier answers

.gitlab-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ include:
1515
- /ci/jobs/auto-release.yml
1616
- /ci/jobs/check-merge-request-title.yml
1717
- /ci/lib/pytest-template.yml
18-
- /ci/jobs/py37.yml
1918
- /ci/jobs/py38.yml
2019
- /ci/jobs/py39.yml
20+
- /ci/jobs/py310.yml
21+
- /ci/jobs/min_versions.yml
2122
- /ci/jobs/coverage.yml
2223

2324
.tox-template:

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
- id: end-of-file-fixer
1414
- id: trailing-whitespace
1515
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
16-
rev: v9.4.0
16+
rev: v9.5.0
1717
hooks:
1818
- id: commitlint
1919
stages:
@@ -24,11 +24,11 @@ repos:
2424
hooks:
2525
- id: isort
2626
- repo: https://github.com/psf/black
27-
rev: 23.1.0
27+
rev: 23.9.1
2828
hooks:
2929
- id: black
3030
- repo: https://github.com/codespell-project/codespell
31-
rev: v2.2.2
31+
rev: v2.2.5
3232
hooks:
3333
- id: codespell
3434
args: ["-x", ".codespellignorelines"]
@@ -38,6 +38,6 @@ repos:
3838
- id: pydocstyle
3939
additional_dependencies: ["tomli"]
4040
- repo: https://github.com/PyCQA/flake8
41-
rev: 6.0.0
41+
rev: 6.1.0
4242
hooks:
4343
- id: flake8

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# BluePyParallel: Bluebrain Python Embarassingly Parallel library
1+
# BluePyParallel: Bluebrain Python Embarrassingly Parallel library
22

3-
Provides an embarassingly parallel tool with sql backend.
3+
Provides an embarrassingly parallel tool with sql backend.
44

55
## Introduction
66

7-
Provides an embarassingly parallel tool with sql backend, inspired by [BluePyMM](https://github.com/BlueBrain/BluePyMM).
7+
Provides an embarrassingly parallel tool with sql backend, inspired by [BluePyMM](https://github.com/BlueBrain/BluePyMM).
88

99

1010
## Installation

bluepyparallel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""bluepyparallel package.
22
3-
Provides an embarassingly parallel tool with sql backend.
3+
Provides an embarrassingly parallel tool with sql backend.
44
"""
55
from bluepyparallel.evaluator import evaluate # noqa
66
from bluepyparallel.parallel import init_parallel_factory # noqa

bluepyparallel/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Version of the bluepyparallel package."""
22

3-
VERSION = "0.0.9" # pragma: no cover
3+
VERSION = "0.1.0.dev0" # pragma: no cover

commitlint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
'Build',
2121
'Chore',
2222
'CI',
23+
'Deprecate',
2324
'Docs',
2425
'Feat',
2526
'Fix',
@@ -101,6 +102,11 @@ module.exports = {
101102
title: 'Release',
102103
emoji: '🎉',
103104
},
105+
Deprecate: {
106+
description: 'Deprecate a feature',
107+
title: 'Deprecations',
108+
emoji: '🗳',
109+
},
104110
},
105111
},
106112
scope: {

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
# add these directories to sys.path here. If the directory is relative to the
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
1212

13-
from pkg_resources import get_distribution
13+
from importlib import metadata
1414

1515
# -- Project information -----------------------------------------------------
1616

1717
project = "BluePyParallel"
1818

1919
# The short X.Y version
20-
version = get_distribution("bluepyparallel").version
20+
version = metadata.version("bluepyparallel")
2121

2222
# The full version, including alpha/beta/rc tags
2323
release = version

0 commit comments

Comments
 (0)