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
Move setup_requires to pyproject.yaml #14
Comments
Looks like setuptools_markdown is not required for installation - some time ago I started using |
That'd also fix it, yes :) |
I think you can create a PR for #13 and fix this problem too. Are you ok with this? |
Unfortunately, this doesn't quite fix things, as
and removing |
After this changes |
Hm That's true. You'd need to
|
It looks like a bad solution. |
Not sure I understand the question.
Which doesn't work? |
Yes, that's true. I mean that I don't understand your problem with "setup_requires". What are the steps to reproduce your problem? |
See the description at the top. Unfortunately, to reproduce it you'd need to be behind a corporate proxy that requires you add an extra CA cert to your trust store. The problem is that distutils doesn't support that, and it's distutils that is invoked to install the setup_requires deps. Hence, behind a corp proxy, or if using a local mirror of pypi, a
|
Could you say please? How do you exactly do install the package? What command do you run?:
|
|
Oh, now I understand how the problem happens. I'll think about it and come back with a solution a bit later. For now you can use version 1.1.0 - it should work correctly for you, but depending on the version of PyYAML installed, it may produce warnings. |
What's wrong with the fix to setup.py I posted above? |
I'm not sure this is a good solution. I would like the setup to always work the same. Also it still seems wrong to me to require pytest-runner if the user just wants to install it |
Both of those are achieved with the change to the setup.py I outlined above |
When build system (setuptools) requirements are specified in setup.py, they end up being installed by distutils, even when pip installing. Because distutils is bit-rotting, it doesn't work with system installed openssl.
Locally, for me, that means distutils doesn't know about some SSL CA certs, and as such, a
pip install markdown-full-yaml-metadata
will fail when trying to installsetuptools_markdown
due to being unable to validate the SSL cert (I am behind a coorporate proxy which MITMs all traffic and resigns with a local cert).Moving the
setup_requires
deps topyproject.toml
fixes this - I suggest something like this:The text was updated successfully, but these errors were encountered: