Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg committed Mar 29, 2024
1 parent 2a5e921 commit cfed414
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"]
dynamic = ["version", "description"]
dependencies = ["bsb-core==4.0.0rc2"]
dependencies = ["bsb-core~=4.0"]

[tool.flit.module]
name = "bsb_nest"
Expand All @@ -20,15 +20,15 @@ nest = "bsb_nest"
[project.optional-dependencies]
parallel = ["bsb-core[parallel]"]
test = [
"bsb-test==4.0.0rc2",
"bsb-hdf5==4.0.0rc2",
"bsb-test~=4.0",
"bsb-hdf5~=4.0",
# Required to load the Brunel config file
"bsb-arbor==4.0.0rc2",
"bsb-arbor~=4.0",
"coverage~=7.0"
]
dev = [
"pre-commit~=3.5",
"black~=24.1.1",
"black~=24.0",
"isort~=5.12",
"bump-my-version~=0.18"
]
Expand All @@ -42,20 +42,8 @@ known_third_party = ["nest"]

[tool.bumpversion]
current_version = "4.0.0"
parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
(?P<minor>0|[1-9]\\d*)\\.
(?P<patch>0|[1-9]\\d*)
(?:
- # dash seperator for pre-release section
(?P<pre_l>[a-zA-Z-]+) # pre-release label
(?P<pre_n>0|[1-9]\\d*) # pre-release version number
)? # pre-release section is optional
"""
serialize = [
"{major}.{minor}.{patch}-{pre_l}{pre_n}",
"{major}.{minor}.{patch}",
]
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
Expand Down

0 comments on commit cfed414

Please sign in to comment.