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

(🐞) Unable to install pyrfc with poetry 1.2 #6261

Closed
3 tasks done
KotlinIsland opened this issue Aug 29, 2022 · 3 comments
Closed
3 tasks done

(🐞) Unable to install pyrfc with poetry 1.2 #6261

KotlinIsland opened this issue Aug 29, 2022 · 3 comments
Labels
status/external-issue Issue is caused by external project (platform, dep, etc)

Comments

@KotlinIsland
Copy link
Contributor

KotlinIsland commented Aug 29, 2022

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Ubuntu 22.04
  • Poetry version: 1.1.15 / 1.2.0rc2
  • Link of a Gist with the contents of your pyproject.toml file:
[tool.poetry]
name = "test"
version = "1.0.0"
description = ""
authors = []

[tool.poetry.dependencies]
Cython = "*"
pyrfc = "*"

Issue

Sorry, I really have no idea whats going on here, it installs fine with 1.1.15 and with pip, but when I use poetry 1.2 it fails.

👉 poetry@1.1.15 install
success

👉 poetry@1.2.0rc2 install
...
        Cython not installed: https://cython.readthedocs.io/en/latest/src/quickstart/install.html
...

Here is the relevant part of the pyrfc's setup.py

    install_requires=["setuptools"],
    setup_requires=[
        "setuptools-git",
        "cython; platform_system != 'Windows'"
    ],
@KotlinIsland KotlinIsland added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Aug 29, 2022
@finswimmer
Copy link
Member

Hello @KotlinIsland,

not sure why it looks like poetry 1.1.15 can install pyrfc. I guess it was already somehow installed. For me it fails with any version and the reason is clear:

There is no wheel file for linux systems, so the package has to build from the sdist. But the maintainer of this package missed to add a pyproject.toml and define the build requirements according to PEP-518. So there is nothing poetry can do here. Please contact the maintainer of the package and ask them to add the required file with required information.

fin swimmer

@finswimmer finswimmer added status/external-issue Issue is caused by external project (platform, dep, etc) and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Aug 29, 2022
@KotlinIsland
Copy link
Contributor Author

KotlinIsland commented Aug 29, 2022

@finswimmer Thanks, I've raised it with pyrfc.

I do know for certain that it was not installed previously. Is this something you would be interested in investigating?

FROM python

#RUN curl -sSL https://install.python-poetry.org | python3.10 - --version 1.2.0rc2
RUN curl -sSL https://install.python-poetry.org | python3.10 - --version 1.1.15

ENV PATH=$PATH:/root/.local/bin

COPY pyproject.toml .

RUN poetry install

This doesn't install all the way, due to pyrfc having other dependencies, but it definitely picks up the cython.

Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/external-issue Issue is caused by external project (platform, dep, etc)
Projects
None yet
Development

No branches or pull requests

2 participants