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

Replace setuptools to poetry #132

Merged
merged 6 commits into from
Nov 10, 2023
Merged

Replace setuptools to poetry #132

merged 6 commits into from
Nov 10, 2023

Conversation

quanpython
Copy link
Collaborator

No description provided.

@quanpython quanpython linked an issue Nov 3, 2023 that may be closed by this pull request
Copy link

@ReiHashimoto ReiHashimoto left a comment

Choose a reason for hiding this comment

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

In my environment, I get following warning message.
(After updating poetry.lock by poetry lock --no-update, the message disappear in my env.)

Warning: poetry.lock is not consistent with pyproject.toml. You may be getting improper dependencies. Run `poetry lock [--no-update]` to fix it.
Path /private/var/folders/sy/f16zz6x50xz3113nwtb9bvq00000gp/T/abs_6cp367xbh2/croot/python-build_1679596513195/work for build does not exist

And more, there is a following error.

Installing ruamel-yaml (0.18.4): Failed

  RuntimeError

  Unable to find installation candidates for ruamel-yaml (0.18.4)

Do these reproduce in your environment?
If so, I hope them to be fixed.

@quanpython
Copy link
Collaborator Author

@ReiHashimoto
I updated the poetry.lock file and specify version of ruamel.yaml. It seems the error has been resolved.
Please check it again.

docker-compose.dev.yml Outdated Show resolved Hide resolved
@ReiHashimoto
Copy link

@quanpython
I made following changes by myself.

  • sphinx-pyproject can only parse [project] but [tool.poetry] in pyproject.toml. -> I decided not to use this package.
  • sphinx_rtd_theme has problem with version -> update lock file.

@quanpython quanpython marked this pull request as ready for review November 9, 2023 06:19
@ReiHashimoto ReiHashimoto merged commit a59c36a into develop-main Nov 10, 2023
@ReiHashimoto ReiHashimoto deleted the feature/add-poetry branch November 10, 2023 01:05
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.

poetryの導入
2 participants