Skip to content

Commit

Permalink
fix: requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
koushik-kiran-kumar committed Jun 25, 2024
1 parent 4204323 commit 2f9e50c
Show file tree
Hide file tree
Showing 23 changed files with 22 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ release:
python setup.py sdist bdist_wheel upload -r swimlane

build-offline-installer:
python2.7 offline_installer/build_installer.py
python3 offline_installer/build_installer.py
4 changes: 0 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ Install/upgrade to latest release::

pip install -U swimlane

Install/upgrade to latest release for platform v2.x::

pip install -U "swimlane>=2,<3"


Offline Installer
^^^^^^^^^^^^^^^^^
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
faker
mock
pytest>=6.2.5
pytest-pythonpath
tox
Expand Down
2 changes: 1 addition & 1 deletion tests/adapters/test_app_adapter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest.mock as mock
import mock
import pytest


Expand Down
2 changes: 1 addition & 1 deletion tests/adapters/test_app_revision_adapter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import math

import unittest.mock as mock
import mock

from swimlane.core.resources.app_revision import AppRevision

Expand Down
2 changes: 1 addition & 1 deletion tests/adapters/test_helper_adapter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest.mock as mock
import mock

app_id = '123'
record_id = '456'
Expand Down
2 changes: 1 addition & 1 deletion tests/adapters/test_record_adapter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numbers

import unittest.mock as mock
import mock
import pytest
import six

Expand Down
2 changes: 1 addition & 1 deletion tests/adapters/test_record_revision_adapter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest.mock as mock
import mock

from swimlane.core.resources.record_revision import RecordRevision

Expand Down
2 changes: 1 addition & 1 deletion tests/adapters/test_report_adapter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest.mock as mock
import mock

from swimlane.core.resources.report import Report

Expand Down
2 changes: 1 addition & 1 deletion tests/adapters/test_task_adapter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json
import pytest
import unittest.mock as mock
import mock
from requests.models import Response
from swimlane.core.adapters import TaskAdapter
from swimlane.core.resources.task import Task
Expand Down
2 changes: 1 addition & 1 deletion tests/adapters/test_usergroup_adapters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest.mock as mock
import mock
import pytest

from swimlane.core.resources.usergroup import Group, User
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import json
from pathlib import Path
from shutil import copy as cp
import unittest.mock as mock
import mock
import pytest
from swimlane.core.client import SwimlaneJwtAuth, Swimlane
from swimlane.core.resources.app import App
Expand Down
2 changes: 1 addition & 1 deletion tests/fields/test_attachment.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from datetime import datetime
from io import BytesIO

import unittest.mock as mock
import mock
import pytest
from swimlane.core.fields.attachment import AttachmentCursor
from swimlane.core.resources.attachment import Attachment
Expand Down
2 changes: 1 addition & 1 deletion tests/fields/test_comment.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from datetime import datetime

import unittest.mock as mock
import mock

from swimlane.core.fields.comment import CommentCursor
from swimlane.core.resources.comment import Comment
Expand Down
2 changes: 1 addition & 1 deletion tests/fields/test_history.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest.mock as mock
import mock
import pytest
import pendulum

Expand Down
2 changes: 1 addition & 1 deletion tests/fields/test_reference.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest.mock as mock
import mock
import pytest

from swimlane.core.fields.reference import ReferenceCursor
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/test_record.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json
import pendulum
import unittest.mock as mock
import mock
import pytest
from requests import Response
from swimlane.core.fields.reference import ReferenceCursor
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/test_record_revision.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest.mock as mock
import mock
import pendulum
import pytest

Expand Down
2 changes: 1 addition & 1 deletion tests/resources/test_report.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unittest.mock as mock
import mock
import pytest

from swimlane.core.resources.report import report_factory
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/test_usergroups.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
from mock import patch
import unittest.mock as mock
import mock
import copy

from swimlane.core.cache import ResourcesCache
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import copy

import unittest.mock as mock
import mock
import pytest

from swimlane.core.cache import ResourcesCache, check_cache
Expand Down
2 changes: 1 addition & 1 deletion tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Tests for custom Swimlane errors"""
import unittest.mock as mock
import mock
import pytest
from requests import HTTPError

Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import string
import sys

import unittest.mock as mock
import mock
import pytest
from pkg_resources import DistributionNotFound

Expand Down

0 comments on commit 2f9e50c

Please sign in to comment.