Skip to content

Commit

Permalink
DPD: update all dependencies and reconfigure configs (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
attack68 authored Nov 13, 2023
1 parent 52e8c4e commit 512a5b3
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 33 deletions.
33 changes: 30 additions & 3 deletions docs/source/_static/css/overwrites.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,40 @@
/* Getting started pages */

code {
color: darkorange;
html {
--pst-font-size-base: 0.9rem;
}

html[data-theme="light"] {
--pst-color-secondary: darkorange;
--pst-color-link-hover: darkorange;
--pst-heading-color: #459db9;
--pst-color-inline-code: darkorange;
}

.sig-name {
a {
text-decoration: none;
}

.prev-next-area a p.prev-next-title {
text-decoration: none;
}

a.nav-link:hover {
text-decoration: none;
}

code.xref:hover {
color: darkorange;
}

/*code {*/
/* color: darkorange;*/
/*}*/

/*.sig-name {*/
/* color: darkorange;*/
/*}*/

.table td, .table th {
font-size: 0.85em;
padding: 0;
Expand Down
12 changes: 6 additions & 6 deletions docs/source/i_get_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ Or, it can be installed via the community ``conda-forge`` channel available from
- 3.11
- 3.9
* - NumPy
- 1.25.2
- 1.25.2
- 1.26.1
- 1.26.1
- 1.21.5
* - Pandas
- 2.1.0
- 2.0.3
- 2.1.3
- 2.1.3
- 1.4.1
* - Matplotlib
- 3.7.2
- 3.7.2
- 3.8.1
- 3.8.1
- 3.5.1


Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,14 @@ keywords = ["interest rate", "derivatives", "swaps", "bonds", "fixed income"]
dependencies = [
"numpy>=1.21.5",
"matplotlib>=3.5.1",
"pandas>=1.4.1,<=2.0.3",
"pandas>=1.4.1",
]
requires-python = ">=3.9"

[project.optional-dependencies]
dev = [
"pytest>=7.0.1",
"jupyterlab>=3.3.1",
"numba>=0.55.1",
"sphinx>=5.1.1",
"coverage>=7.1.0",
]
Expand Down
12 changes: 6 additions & 6 deletions requirements-latest.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# project
numpy==1.25.2
pandas==2.1.0 # formerly 1.5.3
matplotlib==3.7.2
numpy==1.26.1
pandas==2.1.3 # formerly 1.5.3
matplotlib==3.8.1

# development
pytest==7.3.1
black==23.3.0 # for code formatting
pytest==7.4.3
black==23.11.0 # for code formatting
flake8==6.1.0 # for code linting
coverage==7.2.5 # for test and code monitoring
coverage==7.3.2 # for test and code monitoring
33 changes: 17 additions & 16 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
# project
jupyterlab==3.3.1
numpy==1.25.2
pandas==2.0.3
matplotlib==3.7.2

# possible performance enhancements
# numba==0.56.4
numpy==1.26.1
pandas==2.1.3
matplotlib==3.8.1

# development
pytest==7.3.1
sphinx==5.1.1 # for doc building
sphinx-automodapi==0.14.1 # for doc building
# asv==0.5.1 # for performance test suite
# virtualenv==20.16.3 # requirement of asv
black==23.3.0 # for code formatting
pytest==7.4.3
coverage==7.3.2 # for test and code monitoring

sphinx==7.2.6 # (5.1.1) # for doc building
sphinx-automodapi==0.16.0 # (0.14.1) # for doc building
pydata-sphinx-theme==0.14.3 # (0.12.0)

black==23.11.0 # for code formatting
flake8==6.1.0 # for code linting
mypy==1.3.0 # for type checking
coverage==7.2.5 # for test and code monitoring
pydata-sphinx-theme==0.12.0
mypy==1.7.0 # for type checking

jupyterlab==4.0.8

# asv==0.5.1 # for performance test suite
# virtualenv==20.16.3 # requirement of asv

0 comments on commit 512a5b3

Please sign in to comment.