Skip to content

Commit

Permalink
Fix dependency self-referencing error
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitri-mcguckin committed Jan 3, 2022
1 parent 541356d commit 4ed762e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: python3 -m pip install --upgrade pip

- name: Install regular and dev dependencies
run: pip install .[dev]
run: pip install -e .[dev]

- name: Build and publish
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: python3 -m pip install --upgrade pip

- name: Install regular and dev dependencies
run: pip install .[dev]
run: pip install -e .[dev]

- name: Lint with flake8
run: |
Expand Down
15 changes: 1 addition & 14 deletions oresat_tpane/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
"""This module is responsible for providing a high-level interface for elements
of Curses UI and general user interaction with the app,
"""
from oresat_tpane.pane import Pane, VSplit, HSplit, TextFill
from oresat_tpane.datagrid import DataGrid
from urwid import MainLoop, ExitMainLoop

MAJOR = 0
MINOR = 0
PATCH = 1
PATCH = 2

LIB_NAME = 'oresat-tpane'
LIB_DESCRIPTION = 'This module is responsible for providing a high-level' \
Expand All @@ -24,13 +21,3 @@

MAINTAINER_NAME = 'Portland State Aerospace Society'
MAINTAINER_EMAIL = '[email protected]'

__all__ = [
"Pane",
"VSplit",
"HSplit",
"TextFill",
"MainLoop",
"DataGrid",
"ExitMainLoop",
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"Topic :: Software Development :: User Interfaces",
],
install_requires=[
"urwid >= 2.1.2"
"urwid == 2.1.2"
],
extras_require={
"dev": [
Expand Down
Empty file added tests/__init__.py
Empty file.
12 changes: 12 additions & 0 deletions tests/spec_hello_world.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from unittest import TestCase

class HelloWorld(TestCase):

def setUp(self):
pass

def tearDown(self):
pass

def test_hello_world(self):
self.assertTrue(True)

0 comments on commit 4ed762e

Please sign in to comment.