Skip to content

Commit

Permalink
Dropped Python version and updated dependencies. Bumped package versi…
Browse files Browse the repository at this point in the history
…on to 1.0.0. Updated README. Fixed linting and tests. (#34)
  • Loading branch information
yaniv-shulman authored Sep 28, 2024
1 parent f9c3c99 commit dbdea1e
Show file tree
Hide file tree
Showing 10 changed files with 6,451 additions and 6,332 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting_and_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pip install rsklpr
```

### What's new? ###
- Version 1.0.0 - Dropped support for Python 3.8 and added support for Python 3.12.
- Version 0.7.0 - Metrics including local R-Squared and more efficient computation of WLS.
- Version 0.6.0 - Bootstrap inference and confidence intervals

Expand Down
2,508 changes: 1,312 additions & 1,196 deletions poetry.lock

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Mathematics",
]
Expand All @@ -22,7 +22,7 @@ packages = [
]
readme = "README.md"
repository = "https://github.com/yaniv-shulman/rsklpr"
version = "0.9.0"
version = "1.0.0"

[tool.poetry.group.experiments]
optional = true
Expand All @@ -32,40 +32,40 @@ optional = true

[tool.poetry.dependencies]
joblib = "^1.4.2"
numpy = "^1.24.4"
python = ">=3.8.0,<3.12"
scikit-learn = "^1.3.2"
scipy = "^1.10.1"
numpy = "^2.0.2"
python = ">=3.9"
scikit-learn = "^1.5.2"
scipy = "^1.13.1"

[tool.poetry.group.experiments.dependencies]
chart-studio = "^1.1.0"
ipywidgets = "^8.1.3"
ipywidgets = "^8.1.5"
localreg = "^0.5.0"
matplotlib = "^3.7.5"
notebook = "^7.2.1"
pandas = "^2.0.3"
plotly = "^5.22.0"
statsmodels = "^0.14.1"
tqdm = "^4.66.4"
matplotlib = "^3.9.2"
notebook = "^7.2.2"
pandas = "^2.2.3"
plotly = "^5.24.1"
statsmodels = "^0.14.3"
tqdm = "^4.66.5"

[tool.poetry.group.dev.dependencies]
black = {extras = ["jupyter"], version = "^24.4.2"}
coverage = {extras = ["toml"], version = "^7.5.3"}
mypy = "^1.10.0"
pytest = "^8.2.2"
black = {extras = ["jupyter"], version = "^24.8.0"}
coverage = {extras = ["toml"], version = "^7.6.1"}
mypy = "^1.11.2"
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
pytest-xdist = "^3.6.1"
ruff = "^0.4.9"
statsmodels = "^0.14.1"
ruff = "^0.6.8"
statsmodels = "^0.14.3"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 120
target-version = ["py38"]
target-version = ["py311"]

[tool.ruff]
# Exclude a variety of commonly ignored directories.
Expand Down Expand Up @@ -100,7 +100,7 @@ exclude = [
# Same as Black.
line-length = 120
indent-width = 4
target-version = "py38"
target-version = "py311"

[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
Expand All @@ -117,7 +117,7 @@ unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

[tool.mypy]
python_version = "3.8"
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
Expand Down
Loading

0 comments on commit dbdea1e

Please sign in to comment.