[BUG] "Using .* with relational operator is superfluous and deprecated"
See original GitHub issueConsider the package dbt-core
. The install_requires
contains
"dbt-extractor~=0.4.1",
Running Grayskull this gets translated into
- dbt-extractor >=0.4.1,==0.4.*
Then running boa with conda mambabuild -c conda-forge .
or conda build -c conda-forge .
produces the warning
WARNING:conda.models.version:Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 0.4.*, but conda is ignoring the .* and treating it as 0.4
This results in the unsatisfiable dependency >=0.4.1,==0.4
since ==0.4
seems to imply 0.4.0 and excludes 0.4.1.
Interestingly, if I change it to a single equals (>=0.4.1,=0.4.*
) then it doesn’t complain and seems to work as intended.
Issue Analytics
- State:
- Created a year ago
- Comments:27 (27 by maintainers)
Top Results From Across the Web
wildcard with relational operator deprecation message #9140
Current Behavior. Lots of "Using .* with relational operator is superfluous" messages, especially (exclusively?) during conda build .
Read more >Using .* with relational operator is superfluous and ... - GitLab
Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. We're getting warnings like:....
Read more >how conda-build avoids checking incompatibility
I am building a conda package and use the command conda-build xxx ... with relational operator is superfluous and deprecated and will be ......
Read more >Change log - 1.80.0 - Boost C++ Libraries
Boost.Test minimal.hpp is now showing a deprecation warning. minimal.hpp has been deprecated for a long time already, and will be removed in the...
Read more >[ANN] Spyder 5.1.5 is released!
USER community, and supported by its users through OpenCollective and ... with relational operator is superfluous and deprecated and will be ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think, I just bumped into this (or at least it’s related).
One of my feedstocks has the requirements
~=0.9.0
which gets translated to>=0.9.0,==0.9.*
. This makes the solves throw an error despitev0.9.6
being available.PR: https://github.com/conda-forge/aiofile-feedstock/pull/3 Logs: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=548936&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=e5c8ab1d-8ff9-5cae-b332-e15ae582ed2d
Oh yeah that’s maybe not a bad idea at all! @marcelotrevisani What do you think?