Skip to content

Commit

Permalink
Port fixed-requirements constraints to pants and regenerate lockfiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
nzlosh committed Mar 21, 2024
1 parent 2998a0d commit 02b7beb
Show file tree
Hide file tree
Showing 21 changed files with 455 additions and 2,289 deletions.
4 changes: 4 additions & 0 deletions contrib/runners/local_runner/tests/unit/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ __defaults__(
{(python_test, python_tests): dict(tags=["unit"])},
extend=True,
)

python_tests(
name="tests",
)
15 changes: 15 additions & 0 deletions contrib/runners/local_runner/tests/unit/test_local_runner.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Copyright 2024 The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest


@pytest.mark.skip(reason="TEST TO BE IMPLEMENTED.")
def test_todo():
pass
4 changes: 4 additions & 0 deletions contrib/runners/remote_runner/tests/unit/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ __defaults__(
{(python_test, python_tests): dict(tags=["unit"])},
extend=True,
)

python_tests(
name="tests",
)
15 changes: 15 additions & 0 deletions contrib/runners/remote_runner/tests/unit/test_remote_runner.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Copyright 2024 The StackStorm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import pytest


@pytest.mark.skip(reason="TEST TO BE IMPLEMENTED.")
def test_todo():
pass
2 changes: 0 additions & 2 deletions fixed-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ zake==0.2.2
bcrypt==3.2.0
jinja2==2.11.3
mock==4.0.3
nose-timer==1.0.1
nose-parallel==0.4.0
psutil==5.8.0
python-dateutil==2.8.1
python-statsd==2.1.0
Expand Down
10 changes: 5 additions & 5 deletions lockfiles/pants-plugins.lock
Original file line number Diff line number Diff line change
Expand Up @@ -420,13 +420,13 @@
"artifacts": [
{
"algorithm": "sha256",
"hash": "32c7c0b711493c72ff18a981d24f28aaf9c1fb7ed5e9667c9e84e3db623bdbfb",
"url": "https://files.pythonhosted.org/packages/39/92/8486ede85fcc088f1b3dba4ce92dd29d126fd96b0008ea213167940a2475/pyparsing-3.1.1-py3-none-any.whl"
"hash": "f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742",
"url": "https://files.pythonhosted.org/packages/9d/ea/6d76df31432a0e6fdf81681a895f009a4bb47b3c39036db3e1b528191d52/pyparsing-3.1.2-py3-none-any.whl"
},
{
"algorithm": "sha256",
"hash": "ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db",
"url": "https://files.pythonhosted.org/packages/37/fe/65c989f70bd630b589adfbbcd6ed238af22319e90f059946c26b4835e44b/pyparsing-3.1.1.tar.gz"
"hash": "a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad",
"url": "https://files.pythonhosted.org/packages/46/3a/31fd28064d016a2182584d579e033ec95b809d8e220e74c4af6f0f2e8842/pyparsing-3.1.2.tar.gz"
}
],
"project_name": "pyparsing",
Expand All @@ -435,7 +435,7 @@
"railroad-diagrams; extra == \"diagrams\""
],
"requires_python": ">=3.6.8",
"version": "3.1.1"
"version": "3.1.2"
},
{
"artifacts": [
Expand Down
233 changes: 109 additions & 124 deletions lockfiles/pylint.lock

Large diffs are not rendered by default.

127 changes: 64 additions & 63 deletions lockfiles/pytest.lock

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions lockfiles/st2-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
# DROPS RESOLVED VERSION: unknown
MarkupSafe<2.1.0,>=0.23

Pygments==2.5.2

# REQUIRED BY: kombu
# REASON: unknown -- this looks like a lockfile-style pin
# NOTE: try to remove constraint later.
# DROPS RESOLVED VERSION: 5.1.1
amqp==5.0.6
amqp==5.2.0

# REQUIRED BY: cryptography, paramiko, passlib
# REASON: unknown -- this looks like a lockfile-style pin
Expand Down Expand Up @@ -59,14 +61,14 @@ cffi<1.15.0
# REASON: 2.0 version breaks pymongo work with hosts
# NOTE: try to remove this later
# DROPS RESOLVED VERSION: 1.16
dnspython>=1.16.0,<2.0.0
dnspython==2.6.1

# REQUIRED BY: eventlet
# REASON: unknown -- this looks like a lockfile-style pin
# NOTE: We are having a hard time upgrading eventlet, so this pin is commented
# out to see if that will help. If any tests fail, uncomment this.
# DROPS RESOLVED VERSION: 1.1.3.post0
#greenlet==1.0.0
greenlet==3.0.3

# REQUIRED BY: argcomplete, click, debtcollector, kombu, pluggy, prettytable,
# pytest, virtualenv
Expand All @@ -81,7 +83,7 @@ dnspython>=1.16.0,<2.0.0
# REASON: unknown
# NOTE: try to remove constraint later.
# DROPS RESOLVED VERSION: 4.13
oslo.utils<5.0,>=4.0.0
oslo.utils==7.1.0

# REQUIRED BY: tooz
# REASON: unknown
Expand Down
Loading

0 comments on commit 02b7beb

Please sign in to comment.