Skip to content
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

Update dependencies and development tools #26

Merged
merged 4 commits into from
Feb 2, 2024
Merged

Update dependencies and development tools #26

merged 4 commits into from
Feb 2, 2024

Conversation

eicca
Copy link
Contributor

@eicca eicca commented Jan 29, 2024

This PR updates the dependencies, relaxes the version constraints and updates the development tools and workflows.

Changes:

  • numba is updated to 0.58 to allow for the newer numpy version
  • numpy version range is adapted accordingly to numba's requirements
  • python 3.11 is allowed
  • pandas version is relaxed to allow for pandas >= 2
    • added additional CI pipeline for pandas 2
  • mypy is updated and enabled on CI
    • all type hints are now fixed
  • black, flake8 and isort are replaced by ruff
    • the entire codebase is now formatted and linted with ruff
    • the CI pipeline is updated accordingly

Closes #25

This commit updates the dependencies, relaxes the version constraints and
updates the development tools and workflows.

Changes:
- numba is updated to 0.58 to allow for the newer numpy version
- numpy version range is adapted accordingly to numba's requirements
- python 3.11 is allowed
- pandas version is relaxed to allow for pandas >= 2
  * added additional CI pipeline for pandas 2
- mypy is updated and enabled on CI
  * all type hints are now fixed
- black, flake8 and isort are replaced by ruff
  * the entire codebase is now formatted and linted with ruff
  * the CI pipeline is updated accordingly
@eicca eicca requested a review from nicola-v January 29, 2024 16:17
@eicca eicca self-assigned this Jan 29, 2024
Copy link
Collaborator

@nicola-v nicola-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

.github/workflows/python-package.yml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
src/anonymeter/stats/confidence.py Show resolved Hide resolved
tests/test_linkability_evaluator.py Show resolved Hide resolved
@eicca eicca enabled auto-merge February 2, 2024 09:53
@eicca eicca merged commit a2354c2 into main Feb 2, 2024
4 checks passed
@eicca eicca deleted the eicca/deps-update branch February 2, 2024 09:57
@eicca eicca mentioned this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Dependency to Require pandas 2.0 or Higher
2 participants