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

Redundant version comparisons #21163

Closed
ericLemanissier opened this issue Nov 16, 2023 · 1 comment
Closed

Redundant version comparisons #21163

ericLemanissier opened this issue Nov 16, 2023 · 1 comment

Comments

@ericLemanissier
Copy link
Contributor

ericLemanissier commented Nov 16, 2023

This issue lists all the redundant version comparisons is conanfiles.
It is automatically generated by https://github.com/ericLemanissier/conan-center-versions-comparisons so don't hesitate to report issues/improvements there.
The following recipes have verions comparisons which are always True or False for versions listed in config.yml.

benchmark/

Version(self.version) < '1.5.4' is always False for versions ['1.8.4', '1.8.3', '1.8.2', '1.8.1', '1.8.0', '1.7.1', '1.7.0', '1.6.2', '1.6.1', '1.6.0', '1.5.6']

c-ares/

Version(self.version) >= '1.18.0' is always True for versions ['1.28.1', '1.27.0', '1.26.0', '1.25.0', '1.22.1', '1.22.0', '1.21.0', '1.20.1', '1.19.1', '1.19.0', '1.18.1']

cpp-sort/

Version(self.version) < '1.10.0' is always False for versions ['1.15.0', '1.14.0', '1.13.2', '1.13.1', '1.13.0', '1.12.1', '1.12.0', '1.11.0', '1.10.0']
Version(self.version) < '1.8.0' is always False for versions ['1.15.0', '1.14.0', '1.13.2', '1.13.1', '1.13.0', '1.12.1', '1.12.0', '1.11.0', '1.10.0']

cryptopp-pem/

Version(self.version) <= '8.4.0' is always True for versions ['8.2.0']

dataframe/

Version(self.version) >= '1.14.0' is always True for versions ['3.1.0', '3.0.0', '2.3.0', '2.2.0', '2.1.0', '2.0.0', '1.22.0', '1.21.0', '1.20.0', '1.19.0', '1.18.0']

drogon/

Version(self.version) < '1.8.4' is always False for versions ['1.9.4', '1.9.3', '1.9.2', '1.9.1', '1.9.0', '1.8.7', '1.8.6', '1.8.5', '1.8.4']
Version(self.version) < '1.8.2' is always False for versions ['1.9.4', '1.9.3', '1.9.2', '1.9.1', '1.9.0', '1.8.7', '1.8.6', '1.8.5', '1.8.4']
Version(self.version) >= '1.8.4' is always True for versions ['1.9.4', '1.9.3', '1.9.2', '1.9.1', '1.9.0', '1.8.7', '1.8.6', '1.8.5', '1.8.4']

faac/

Version(self.version) < '1.29.1' is always False for versions ['1.30']

fastgltf/

Version(self.version) <= '0.7.0' is always True for versions ['0.7.0', '0.6.1', '0.5.0', '0.4.0']

flint/

Version(self.version) <= '3.0.1' is always True for versions ['3.0.1', '2.9.0', '2.8.5', '2.7.1']

gdk-pixbuf/

Version(self.version) < '2.42.0' is always False for versions ['2.42.10', '2.42.9', '2.42.8', '2.42.6']

google-cloud-cpp/

str(self.version) not in self._GA_COMPONENTS is always False for versions ['2.12.0', '2.15.1', '2.19.0']
str(self.version) not in self._PROTO_COMPONENTS is always False for versions ['2.12.0', '2.15.1', '2.19.0']
str(self.version) not in self._PROTO_COMPONENT_DEPENDENCIES is always False for versions ['2.12.0', '2.15.1', '2.19.0']
Version(self.version) < '2.12.0' is always False for versions ['2.12.0', '2.15.1', '2.19.0']

grpc/

Version(self.version) >= '1.47' is always True for versions ['1.54.3', '1.50.1', '1.50.0', '1.48.4']
Version(self.version) < '1.47' is always False for versions ['1.54.3', '1.50.1', '1.50.0', '1.48.4']
Version(self.version) >= '1.47' is always True for versions ['1.54.3', '1.50.1', '1.50.0', '1.48.4']
Version(self.version) >= '1.48' is always True for versions ['1.54.3', '1.50.1', '1.50.0', '1.48.4']

gtsam/

Version(self.version) < '4.2.1' is always True for versions ['4.2', '4.1.1', '4.0.3']

highway/

Version(self.version) >= '0.12.1' is always True for versions ['1.1.0', '1.0.7', '1.0.6', '1.0.5', '1.0.4', '1.0.3', '1.0.2', '1.0.1', '1.0.0', '0.17.0', '0.12.2']

iceoryx/

Version(self.version) >= '2.90' is always False for versions ['2.0.5', '2.0.3', '1.0.3']

isa-l/

self.version == '2.30.0' is always True for versions ['2.30.0']

mdspan/

Version(self.version) < '0.2.0' is always False for versions ['0.6.0', '0.5.0', '0.4.0']
Version(self.version) < '0.2.0' is always False for versions ['0.6.0', '0.5.0', '0.4.0']

onnx/

Version(self.version) >= '1.13.0' is always True for versions ['1.16.1', '1.16.0', '1.15.0', '1.14.1', '1.14.0', '1.13.1']

openssh/

self.version in ['9.1p1', '9.6p1'] is always True for versions ['9.6p1', '9.1p1']

paho-mqtt-c/

self.version in ['1.3.0', '1.3.1'] is always False for versions ['1.3.13', '1.3.12', '1.3.11', '1.3.10', '1.3.9', '1.3.8', '1.3.6', '1.3.5', '1.3.4']

premake/

'alpha' in str(self.version) is always True for versions ['5.0.0-alpha15']

scnlib/

Version(self.version) >= '1.0' is always True for versions ['2.0.3', '2.0.2', '2.0.1', '2.0.0', '1.1.3', '1.1.2', '1.0']

sqlite3/

Version(self.version) >= '3.35.0' is always True for versions ['3.46.0', '3.45.3', '3.45.2', '3.45.1', '3.45.0', '3.44.2', '3.44.1', '3.44.0', '3.43.2', '3.43.1', '3.43.0', '3.42.0', '3.41.2', '3.41.1', '3.40.1', '3.40.0', '3.39.4', '3.39.3', '3.39.2', '3.39.1', '3.39.0', '3.38.5', '3.37.2', '3.36.0']

tomlplusplus/

Version(self.version) == '2.1.0' is always False for versions ['3.4.0', '3.3.0', '3.2.0', '3.1.0', '3.0.1', '2.5.0', '1.3.3']

This can also be viewed on https://ericLemanissier.github.io/conan-center-versions-comparisons

ericLemanissier added a commit to ericLemanissier/conan-center-index that referenced this issue Nov 17, 2023
remove dead code after bed40ca
also, bump deps

identified in conan-io#21146 and conan-io#21163
@ericLemanissier ericLemanissier mentioned this issue Nov 17, 2023
3 tasks
ericLemanissier added a commit to ericLemanissier/conan-center-index that referenced this issue Nov 17, 2023
remove dead code and patches

identified in conan-io#21163 and conan-io#21146
ericLemanissier added a commit to ericLemanissier/conan-center-index that referenced this issue Nov 17, 2023
remove dead code and patches
also, bump deps

identified in conan-io#21163 and conan-io#21146
conan-center-bot pushed a commit that referenced this issue Nov 21, 2023
remove dead code and patches

identified in #21163 and #21146
conan-center-bot pushed a commit that referenced this issue Nov 21, 2023
remove dead code and patches
also, bump deps

identified in #21163 and #21146
conan-center-bot pushed a commit that referenced this issue Nov 22, 2023
remove dead code after bed40ca
also, bump deps

identified in #21146 and #21163
ericLemanissier added a commit to ericLemanissier/conan-center-index that referenced this issue Nov 30, 2023
conan-center-bot pushed a commit that referenced this issue Dec 4, 2023
* cpr: drop dead code

identfied by #21163

* let's go further
ericLemanissier added a commit to ericLemanissier/conan-center-index that referenced this issue Dec 6, 2023
conan-center-bot pushed a commit that referenced this issue Dec 12, 2023
hoyhoy pushed a commit to hoyhoy/conan-center-index that referenced this issue Dec 18, 2023
@ericLemanissier
Copy link
Contributor Author

#24165

@ericLemanissier ericLemanissier closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
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

No branches or pull requests

1 participant