Skip to content

Prepare for 2.0.0 release #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cff-version: 1.2.0
cff-version: 2.0.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Sewall"
Expand All @@ -10,15 +10,18 @@ authors:
- family-names: "Jacobsen"
given-names: "Douglas"
orcid: "https://orcid.org/0000-0002-3836-207X"
- family-names: "Lee"
given-names: "Kin Long Kelvin"
orcid: "https://orcid.org/0000-0002-1903-9242"
title: "Code Base Investigator"
version: 1.2.0
date-released: "2024-03-28"
doi: "10.5281/zenodo.10890422"
version: 2.0.0
date-released: "2025-05-15"
doi: "10.5281/zenodo.15422620"
identifiers:
- description: Archive of all previous releases.
type: doi
value: "10.5281/zenodo.5018973"
- description: Latest release.
type: doi
value: "10.5281/zenodo.10890422"
value: "10.5281/zenodo.15422620"
url: "https://github.com/intel/code-base-investigator"
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,18 @@ portability and maintainability of an application's source code.
- NumPy
- pathspec
- Python 3
- PyYAML
- SciPy
- tabulate
- tqdm


## Installation

The latest release of CBI is version 1.2.0. To download and install this
The latest release of CBI is version 2.0.0. To download and install this
release, run the following:

```
git clone --branch 1.2.0 https://github.com/intel/code-base-investigator.git
cd code-base-investigator
pip install .
pip install git+https://github.com/intel/[email protected]
```

We strongly recommend installing CBI within a [virtual
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
+ "brands may be claimed as the property of others."
)
author = "Intel Corporation"
version = "1.2.0"
release = "1.2.0"
version = "2.0.0"
release = "2.0.0"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
10 changes: 4 additions & 6 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,10 @@ portability and maintainability of an application's source code.
Installation
############

The latest release of CBI is version 1.2.0. To download and install this
The latest release of CBI is version 2.0.0. To download and install this
release, run the following::

$ git clone --branch 1.2.0 https://github.com/intel/code-base-investigator.git
$ cd code-base-investigator
$ pip install .
$ pip install git+https://github.com/intel/[email protected]

We strongly recommend installing CBI within a virtual environment, to simplify
dependency management and improve security. Some alternative methods of
Expand All @@ -74,7 +72,7 @@ creating a virtual environment are shown below.

.. code-block:: text

$ git clone --branch 1.2.0 https://github.com/intel/code-base-investigator.git
$ git clone --branch 2.0.0 https://github.com/intel/code-base-investigator.git
$ python3 -m venv cbi
$ source cbi/bin/activate
$ cd code-base-investigator
Expand All @@ -84,7 +82,7 @@ creating a virtual environment are shown below.

.. code-block:: text

$ git clone --branch 1.2.0 https://github.com/intel/code-base-investigator.git
$ git clone --branch 2.0.0 https://github.com/intel/code-base-investigator.git
$ cd code-base-investigator
$ uv tool install .

Expand Down
13 changes: 6 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description = "Code Base Investigator"
dynamic = ["version", "readme"]
keywords = ["performance", "portability", "productivity"]
name = "codebasin"
requires-python = ">=3.9"
requires-python = ">=3.12"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand All @@ -24,14 +24,13 @@ classifiers = [
"Topic :: Software Development",
]
dependencies = [
"numpy==1.26.0",
"matplotlib==3.8.2",
"numpy==2.2.4",
"matplotlib==3.10.1",
"pathspec==0.12.1",
"pyyaml==6.0.1",
"scipy==1.12.0",
"jsonschema==4.21.1",
"scipy==1.15.2",
"jsonschema==4.23.0",
"tabulate==0.9.0",
"tqdm==4.66.5",
"tqdm==4.67.1",
]

[project.scripts]
Expand Down