Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing sideboard imports #179

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM ghcr.io/magfest/ubersystem:main
ENV uber_plugins=["magstock"]

# install plugins
COPY . plugins/magstock/

RUN /app/env/bin/paver install_deps
RUN uv pip install --system -r plugins/magstock/requirements.txt
1 change: 0 additions & 1 deletion conftest.py

This file was deleted.

6 changes: 3 additions & 3 deletions magstock/config.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from os.path import join
from pathlib import Path

from sideboard.lib import parse_config, request_cached_property
from uber.config import c, Config, dynamic
from uber.config import c, Config, dynamic, parse_config, request_cached_property
from uber.menu import MenuItem
from uber.models import Attendee, Session

from magstock._version import __version__ # noqa: F401

config = parse_config(__file__)
config = parse_config("magstock", Path(__file__).parents[0])
c.include_plugin_config(config)

c.MENU.append_menu_item(
Expand Down
1 change: 0 additions & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
pytest>=3.0.1
mock>=1.0.1,<1.1
coverage>=3.6
-e "git+https://github.com/magfest/sideboard#egg=sideboard"
-e "git+https://github.com/magfest/ubersystem#egg=uber"
Loading