Skip to content

CI: refactoring poetry configuration#1

Closed
Desiment wants to merge 9 commits intomainfrom
ci/refactoring-poetry-configuration
Closed

CI: refactoring poetry configuration#1
Desiment wants to merge 9 commits intomainfrom
ci/refactoring-poetry-configuration

Conversation

@Desiment
Copy link
Contributor

  • Renamed package from CFInvert to cfinversion.
    The reason for this is that poetry does not will work properly with name containing uppercase letters or - symbol. See Case sensitivity of project names when publishing to PyPI python-poetry/poetry#1202
  • Removed setuptools and pipenv files.
    Trying to live with poetry, so packaging also should be done within it.
  • Minor changes in pyproject.toml
    • Add notebook to dev dependence group
    • Removed pytest from dependencies (leaving it in dev group)

project uses poetry, so this file actually not needed
ooetry needs only poetry.lock and pyproject.toml
we do not need pipenv, as we should use poetry
for packaging purposes (see poetry docs on this)
It seems to be a bug, that poetry does not allow for uppercase
and dash symbol in package name, (see related issue), so package
was renamed to `cfinversion`.

Related: python-poetry/poetry#8662
a few small changes:
* removed pytest from requirements (leaving it only in dev group)
* add jupyter-notebook dependency to dev group
Removed naive implementation of bohman methods. These implementations
do not satisfy interface (in type-hints), and do not use NumPy, so
they are quite slow, but have same precision.
It is not possible to implement Pareto distribution using only
scipy.special functions lib, because gammainc do not support
complex-valued argument. Removed incorrect implementation.
removed files for cauchy and lognormal distributions, as
they were empty
@Desiment Desiment marked this pull request as draft April 27, 2025 02:47
@Desiment Desiment closed this Apr 28, 2025
@Desiment Desiment deleted the ci/refactoring-poetry-configuration branch April 28, 2025 14:09
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.

1 participant