Skip to content

Commit

Permalink
Merge pull request #1579 from brian-team/release_2.8.0.1
Browse files Browse the repository at this point in the history
Release 2.8.0.1
  • Loading branch information
mstimberg authored Jan 22, 2025
2 parents 069ae52 + c10c6e9 commit 076483b
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 59 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
cache: 'pip'
cache-dependency-path: .devcontainer/dev-requirements.txt
- name: Install deps
Expand All @@ -40,16 +40,16 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022, macOS-13, macOS-14]
os: [ubuntu-24.04, windows-2022, macOS-13, macOS-14]
standalone: [false, true]
float_dtype_32: [false, true]
python-version: ["${{ needs.get_python_versions.outputs.max-python }}"]
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
standalone: false
python-version: "${{ needs.get_python_versions.outputs.min-python }}"
float_dtype_32: false
- os: ubuntu-22.04
- os: ubuntu-24.04
standalone: true
python-version: "${{ needs.get_python_versions.outputs.min-python }}"
float_dtype_32: false
Expand All @@ -70,6 +70,8 @@ jobs:
auto-update-conda: true
auto-activate-base: false
miniforge-version: latest
channels: conda-forge
conda-remove-defaults: "true"
activate-environment: 'test_env'
python-version: ${{ matrix.python-version }}

Expand Down
57 changes: 5 additions & 52 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,53 +1,6 @@
Brian 2 is primarily developed by Marcel Stimberg, Dan Goodman, and Romain Brette.
# These are the primary developers of Brian 2, for a full list of contributors, see the CONTRIBUTORS file.

Full list of code and documentation contributors, ordered by the time of their
first commit. See the release notes for acknowledgements of further
contributions in the form of bug reports, testing, suggestions, etc.

Dan Goodman (@thesamovar)
Marcel Stimberg (@mstimberg)
Romain Brette (@romainbrette)
Cyrille Rossant (@rossant)
Victor Benichoux (@victorbenichoux)
Pierre Yger (@yger)
Werner Beroux (@wernight)
Konrad Wartke (@Kwartke)
Daniel Bliss (@dabliss)
Jan-Hendrik Schleimer (@ttxtea)
Moritz Augustin (@moritzaugustin)
Romain Cazé (@rcaze)
Dominik Krzemiński (@dokato)
Martino Sorbaro (@martinosorb)
Benjamin Evans (@bdevans)
Meng Dong (@whenov)
Alex Seeholzer (@flinz)
Daan Sprenkels (@dsprenkels)
Edward Betts (@EdwardBetts)
Thomas McColgan (@phreeza)
Charlee Fletterman (@CharleeSF)
Mihir Vaidya (@MihirVaidya94)
Teo Stocco (@zifeo)
Dylan Richard Muir (@DylanMuir)
Adrien F. Vincent (@afvincent)
Kapil Kumar (@kapilkd13)
Matthieu Recugnat (@matrec4)
Paul Brodersen (@paulbrodersen)
Guillaume Dumas (@deep-introspection)
Aleksandra Teska (@alTeska)
Vigneswaran Chandrasekaran (@Vigneswaran-Chandrasekaran)
Rahul Kumar Gupta (@rahuliitg)
Rike-Benjamin Schuppner (@Debilski)
Denis Alevi (@denisalevi)
Dominik Spicher (@dspicher)
Felix B. Kern (@kernfel)
Jan Marker (@jangmarker)
Rohith Varma Buddaraju (@rohithvarma3000)
Kyle Johnsen (@kjohnsen)
Leonardo Schwarz (@leoschwarz)
Abolfazl Ziaeemehr (@Ziaeemehr)
Étienne Mollier (@emollier)
Sebastian Schmitt (@schmitts)
Felix C. Stegerman (@obfusk)
Oleksii Leonov (@aleksejleonov)
Ankur Sinha (@sanjayankur31)
Guy Singer (@guy-singer)
Marcel Stimberg
Dan Goodman
Benjamin Evans
Romain Brette
51 changes: 51 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Full list of code and documentation contributors, ordered by the time of their
# first commit. See the release notes for acknowledgements of further
# contributions in the form of bug reports, testing, suggestions, etc.

Dan Goodman (@thesamovar)
Marcel Stimberg (@mstimberg)
Romain Brette (@romainbrette)
Cyrille Rossant (@rossant)
Victor Benichoux (@victorbenichoux)
Pierre Yger (@yger)
Werner Beroux (@wernight)
Konrad Wartke (@Kwartke)
Daniel Bliss (@dabliss)
Jan-Hendrik Schleimer (@ttxtea)
Moritz Augustin (@moritzaugustin)
Romain Cazé (@rcaze)
Dominik Krzemiński (@dokato)
Martino Sorbaro (@martinosorb)
Benjamin Evans (@bdevans)
Meng Dong (@whenov)
Alex Seeholzer (@flinz)
Daan Sprenkels (@dsprenkels)
Edward Betts (@EdwardBetts)
Thomas McColgan (@phreeza)
Charlee Fletterman (@CharleeSF)
Mihir Vaidya (@MihirVaidya94)
Teo Stocco (@zifeo)
Dylan Richard Muir (@DylanMuir)
Adrien F. Vincent (@afvincent)
Kapil Kumar (@kapilkd13)
Matthieu Recugnat (@matrec4)
Paul Brodersen (@paulbrodersen)
Guillaume Dumas (@deep-introspection)
Aleksandra Teska (@alTeska)
Vigneswaran Chandrasekaran (@Vigneswaran-Chandrasekaran)
Rahul Kumar Gupta (@rahuliitg)
Rike-Benjamin Schuppner (@Debilski)
Denis Alevi (@denisalevi)
Dominik Spicher (@dspicher)
Felix B. Kern (@kernfel)
Jan Marker (@jangmarker)
Rohith Varma Buddaraju (@rohithvarma3000)
Kyle Johnsen (@kjohnsen)
Leonardo Schwarz (@leoschwarz)
Abolfazl Ziaeemehr (@Ziaeemehr)
Étienne Mollier (@emollier)
Sebastian Schmitt (@schmitts)
Felix C. Stegerman (@obfusk)
Oleksii Leonov (@aleksejleonov)
Ankur Sinha (@sanjayankur31)
Guy Singer (@guy-singer)
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ License for Brian2
------------------

Copyright ENS, INRIA, CNRS
Contributors: The Brian team: http://briansimulator.org/team/
Contributors: Brian contributors, see CONTRIBUTORS file

Brian2 is a computer program whose purpose is to simulate models
of biological neural networks that is released under the terms of the
Expand Down
15 changes: 14 additions & 1 deletion dev/tools/release/release.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import datetime
import os

import brian2
Expand All @@ -11,8 +12,20 @@
# Run script to update codemeta.json
os.system(f'python {basedir}/.codemeta/create_codemeta.py {version}')

# Set version and release date in CITATION.cff
new_lines = []
with open(f'{basedir}/CITATION.cff', 'r') as f:
for line in f:
if line.startswith('version: '):
line = f"version: '{version}'\n"
if line.startswith('date-released: '):
line = f"date-released: '{datetime.date.today().isoformat()}'\n"
new_lines.append(line)
with open(f'{basedir}/CITATION.cff', 'w') as f:
f.writelines(new_lines)

# commit
os.system(f'git add {basedir}/codemeta.json && git commit -m "***** Release Brian2 {version} *****"')
os.system(f'git add {basedir}/codemeta.json && git add {basedir}/CITATION.cff && git commit -m "***** Release Brian2 {version} *****"')
# add tag
os.system(f'git tag -a -m "Release Brian2 {version}" {version}')

Expand Down
13 changes: 13 additions & 0 deletions docs_sphinx/introduction/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
Release notes
=============
Brian 2.8.0.1
-------------
This patch-level release corrects some metadata files about authors and contributors, and updates the release script to correctly note version and release date
in ``CITATION.cff``. No other user-facing changes are included in this release.

Contributions
~~~~~~~~~~~~~
GitHub code, documentation, and issue contributions (ordered by the number of
contributions):

* Marcel Stimberg (`@mstimberg <https://github.com/mstimberg>`_)


Brian 2.8.0
-----------
This release comes with an important performance improvement for random number generation in C++ standalone mode, various minor improvements and bugfixes, as well as a
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name = "Brian2"
authors = [
{name = 'Marcel Stimberg'},
{name = 'Dan Goodman'},
{name ='Romain Brette'}
{name = 'Benjamin Evans'},
{name = 'Romain Brette'}
]
requires-python = '>=3.10'
dependencies = [
Expand Down

0 comments on commit 076483b

Please sign in to comment.