-
Notifications
You must be signed in to change notification settings - Fork 154
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
Add pyyaml as an optional extra #103
Comments
masklinn
added a commit
to masklinn/uap-python
that referenced
this issue
Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's really not clear why ua-parser#70 reintroduced a requirements.txt for it, unless there were points at which `install_requires` was not resolved as a *dependency*, so pyyaml had to be separately installed for `develop` to work? See also: ua-parser#103
masklinn
added a commit
to masklinn/uap-python
that referenced
this issue
Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's really not clear why ua-parser#70 reintroduced a requirements.txt for it, unless there were points at which `install_requires` was not resolved as a *dependency*, so pyyaml had to be separately installed for `develop` to work? See also: ua-parser#103
masklinn
added a commit
to masklinn/uap-python
that referenced
this issue
Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's really not clear why ua-parser#70 reintroduced a requirements.txt for it, unless there were points at which `install_requires` was not resolved as a *dependency*, so pyyaml had to be separately installed for `develop` to work? See also: ua-parser#103
masklinn
added a commit
to masklinn/uap-python
that referenced
this issue
Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's really not clear why ua-parser#70 reintroduced a requirements.txt for it, unless there were points at which `install_requires` was not resolved as a *dependency*, so pyyaml had to be separately installed for `develop` to work? See also: ua-parser#103
masklinn
added a commit
to masklinn/uap-python
that referenced
this issue
Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's really not clear why ua-parser#70 reintroduced a requirements.txt for it, unless there were points at which `install_requires` was not resolved as a *dependency*, so pyyaml had to be separately installed for `develop` to work? See also: ua-parser#103
masklinn
added a commit
to masklinn/uap-python
that referenced
this issue
Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's really not clear why ua-parser#70 reintroduced a requirements.txt for it, unless there were points at which `install_requires` was not resolved as a *dependency*, so pyyaml had to be separately installed for `develop` to work? See also: ua-parser#103
masklinn
added a commit
that referenced
this issue
Apr 30, 2022
pyyaml hasn't been a required dependency for a very long time, it's really not clear why #70 reintroduced a requirements.txt for it, unless there were points at which `install_requires` was not resolved as a *dependency*, so pyyaml had to be separately installed for `develop` to work? See also: #103 Closes #106
Looks like that got merged as an incidental part of #148: https://github.com/ua-parser/uap-python/pull/148/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R12 So... cool. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the dependency on pyyaml is a bit schyzophrenic:
requirements.txt
, which doesn't really explain what's what and is not used for normal installationssetup_requires
ofsetup.py
, which is for build-time dependenciesThis means it will not work by default, the install will work then the import will fail when trying to load the yaml file.
Packaging thingies apparently have support for optional extras which can be opted in: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies
The text was updated successfully, but these errors were encountered: