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

Fix/poetry installer #97

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

kaieslamiri
Copy link

  • fixed poetry installer
  • fixed helper to make mypy execute correctly
  • style - readme formatting.
  • bumped version.

@kaieslamiri
Copy link
Author

kaieslamiri commented Oct 3, 2022

related issue : #95

pyproject.toml Outdated
@@ -9,7 +9,7 @@ license = "MIT"
name = "manage-fastapi"
readme = "README.md"
repository = "https://github.com/ycd/manage-fastapi"
version = "1.1.1"
version = "1.1.2"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll bump later...

Suggested change
version = "1.1.2"
version = "1.1.1"

Copy link
Author

Choose a reason for hiding this comment

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

will be reverted

poetry.lock Outdated
Comment on lines 986 to 990
typed-ast = []
typer = []
typing-extensions = []
urllib3 = []
virtualenv = []
Copy link
Collaborator

Choose a reason for hiding this comment

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

The hashes are being removed here... Do you have poetry <1.2 locally?

Copy link
Author

Choose a reason for hiding this comment

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

yes: Poetry version 1.1.10

Copy link
Author

Choose a reason for hiding this comment

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

well have reverted it for now... will look deeper into it later

@kaieslamiri
Copy link
Author

@Kludex, is it mergeable now ?

@@ -4,7 +4,7 @@ ENV PYTHONPATH "${PYTHONPATH}:/"
ENV PORT=8000
{% if cookiecutter.packaging == "poetry" %}
# Install Poetry
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | POETRY_HOME=/opt/poetry python && \
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python && \
cd /usr/local/bin && \
ln -s /opt/poetry/bin/poetry && \
Copy link

Choose a reason for hiding this comment

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

New installer changes the way Poetry is installed (it's similar to how pipx does it), so this probably won't work as intended

Copy link
Author

Choose a reason for hiding this comment

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

You mean on new Apple chips also ?

Copy link

Choose a reason for hiding this comment

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

The installer is cross-platform

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.

None yet

3 participants