Skip to content

Commit cd29dbe

Browse files
committed
improved wording in PACKAGES_CHANGED_ERROR
1 parent 72a71de commit cd29dbe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

graalpython/com.oracle.graal.python.test/src/tests/standalone/test_maven_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
from tests.standalone.util import TemporaryTestDirectory, Logger
5050

5151
MISSING_FILE_WARNING = "The list of installed Python packages does not match the packages specified in the graalpy-maven-plugin configuration."
52-
PACKAGES_CHANGED_ERROR = "but packages in graalpy-maven-plugin configuration are different then previously used to generate the lock file"
52+
PACKAGES_CHANGED_ERROR = "but packages and their version constraints in graalpy-maven-plugin configuration are different then previously used to generate the lock file"
5353
VENV_UPTODATE = "Virtual environment is up to date with lock file, skipping install"
5454

5555
class MavenPluginTest(util.BuildToolTestBase):

graalpython/graalpy-maven-plugin/src/main/java/org/graalvm/python/maven/plugin/AbstractGraalPyMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public abstract class AbstractGraalPyMojo extends AbstractMojo {
9696

9797
protected static final String PACKAGES_CHANGED_ERROR = """
9898
Install of python packages is based on lock file %s,
99-
but packages in graalpy-maven-plugin configuration are different then previously used to generate the lock file.
99+
but packages and their version constraints in graalpy-maven-plugin configuration are different then previously used to generate the lock file.
100100
101101
Packages currently declared in graalpy-maven-plugin configuration: %s
102102
Packages which were used to generate the lock file: %s

graalpython/org.graalvm.python.gradle.plugin/src/main/java/org/graalvm/python/tasks/AbstractPackagesTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public abstract class AbstractPackagesTask extends DefaultTask {
110110

111111
protected static final String PACKAGES_CHANGED_ERROR = """
112112
Install of python packages is based on lock file %s,
113-
but packages in graalpy-maven-plugin configuration are different then previously used to generate the lock file.
113+
but packages and their version constraints in graalpy-maven-plugin configuration are different then previously used to generate the lock file.
114114
115115
Packages currently declared in graalpy-gradle-plugin configuration: %s
116116
Packages which were used to generate the lock file: %s

0 commit comments

Comments
 (0)