From fc5c6bb893f9be89aa9b3074977b8484324dc4b5 Mon Sep 17 00:00:00 2001 From: Zanie Date: Tue, 2 Jan 2024 17:07:39 -0600 Subject: [PATCH] Fix scenario `requires-greater-version-does-not-exist` --- scenarios/requires-does-not-exist.json | 2 +- tests/__snapshots__/test_scenarios.ambr | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scenarios/requires-does-not-exist.json b/scenarios/requires-does-not-exist.json index 3e313656..f8f165a4 100644 --- a/scenarios/requires-does-not-exist.json +++ b/scenarios/requires-does-not-exist.json @@ -30,7 +30,7 @@ "description": "The user requires a version of `a` greater than `1.0.0` but only smaller or equal versions exist", "root": { "requires": [ - "a>=1.0.0" + "a>1.0.0" ] }, "packages": { diff --git a/tests/__snapshots__/test_scenarios.ambr b/tests/__snapshots__/test_scenarios.ambr index abf0407b..3004621e 100644 --- a/tests/__snapshots__/test_scenarios.ambr +++ b/tests/__snapshots__/test_scenarios.ambr @@ -31,7 +31,7 @@ __version__ = "1.0.0" ''', - 'build/requires-greater-version-does-not-exist-ceb05782/requires-greater-version-does-not-exist-ceb05782-0.0.0/pyproject.toml': 'md5:bc8aff250d6de27eff38ad71e6db7932', + 'build/requires-greater-version-does-not-exist-ceb05782/requires-greater-version-does-not-exist-ceb05782-0.0.0/pyproject.toml': 'md5:3a58d99114ef053360c877a29e8b2865', 'build/requires-greater-version-does-not-exist-ceb05782/requires-greater-version-does-not-exist-ceb05782-0.0.0/src/requires_greater_version_does_not_exist_ceb05782/__init__.py': ''' __version__ = "0.0.0" @@ -192,7 +192,7 @@ 'dist/requires-exact-version-does-not-exist-c640da4b/requires_exact_version_does_not_exist_c640da4b-0.0.0.tar.gz': 'md5:41f11d0bcd7a633a406dac568d66d9ac', 'dist/requires-exact-version-does-not-exist-c640da4b/requires_exact_version_does_not_exist_c640da4b_a-1.0.0-py3-none-any.whl': 'md5:e0f8c592c7d0d79647dde3abbcfda631', 'dist/requires-exact-version-does-not-exist-c640da4b/requires_exact_version_does_not_exist_c640da4b_a-1.0.0.tar.gz': 'md5:e35a9c25762e7000143b215fa2e4b3aa', - 'dist/requires-greater-version-does-not-exist-ceb05782/requires_greater_version_does_not_exist_ceb05782-0.0.0.tar.gz': 'md5:798892263fb73bd3621c53f90d289bb9', + 'dist/requires-greater-version-does-not-exist-ceb05782/requires_greater_version_does_not_exist_ceb05782-0.0.0.tar.gz': 'md5:8d025beae5c07301474c89b2090a7363', 'dist/requires-greater-version-does-not-exist-ceb05782/requires_greater_version_does_not_exist_ceb05782_a-0.1.0-py3-none-any.whl': 'md5:93d04bf744ef1ecfdc0e6708468cbb31', 'dist/requires-greater-version-does-not-exist-ceb05782/requires_greater_version_does_not_exist_ceb05782_a-0.1.0.tar.gz': 'md5:2c8f8471554b7bc38e33d091492affb1', 'dist/requires-greater-version-does-not-exist-ceb05782/requires_greater_version_does_not_exist_ceb05782_a-1.0.0-py3-none-any.whl': 'md5:24f318317b2f951238f90891d92349ba', @@ -642,8 +642,8 @@ requires-greater-version-does-not-exist-ceb05782 ├── root - │ └── requires a>=1.0.0 - │ └── satisfied by a-1.0.0 + │ └── requires a>1.0.0 + │ └── unsatisfied: no matching version └── a ├── a-0.1.0 └── a-1.0.0