Skip to content

Commit

Permalink
Update some requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
fretchen committed Feb 10, 2024
1 parent 9458538 commit eb1941f
Show file tree
Hide file tree
Showing 7 changed files with 257 additions and 278 deletions.
506 changes: 242 additions & 264 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-qlued"
version = "0.1.0"
version = "0.1.1a0"
description = "Django packages that enables validated cloud access to quantum hardware."
authors = ["fretchen <fred.jendrzejewski@gmail.com>"]
license = "Apache-2.0"
Expand All @@ -17,23 +17,23 @@ django-ninja = "^1.1.0"
python-decouple = "^3.8"
pytz = "^2023.3.post1"
whitenoise = "^6.6.0"
sqooler = "^0.4.0"
sqooler = "^0.5.0"


[tool.poetry.group.dev.dependencies]
pylint = "^3.0.3"
black = "^23.12.1"
mypy = "^1.7.0"
pylint-django = "^2.5.5"
django-stubs = {extras = ["compatible-mypy"], version = "^4.2.7"}
django-csp = "^3.7"
black = "^24.1.1"

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
mike = "^2.0.0"
mkdocs-material = "^9.5.5"
mkdocs-material = "^9.5.7"
mkdocs = "^1.5.3"
mkdocstrings-python = "^1.8.0"

Expand Down
10 changes: 4 additions & 6 deletions src/qlued/storage_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
storage for the jobs.
"""

from sqooler.storage_providers import (
StorageProvider,
MongodbProviderExtended,
DropboxProviderExtended,
LocalProviderExtended,
)
from sqooler.storage_providers.base import StorageProvider
from sqooler.storage_providers.mongodb import MongodbProviderExtended
from sqooler.storage_providers.dropbox import DropboxProviderExtended
from sqooler.storage_providers.local import LocalProviderExtended

from sqooler.schemes import (
MongodbLoginInformation,
Expand Down
3 changes: 2 additions & 1 deletion tests/test_api_v2.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The models that define our tests for the api in version 1.
"""

import json
from datetime import datetime
import uuid
Expand All @@ -14,7 +15,7 @@
from django.urls import reverse_lazy
from django.contrib.auth import get_user_model

from sqooler.storage_providers import MongodbProviderExtended as MongodbProvider
from sqooler.storage_providers.mongodb import MongodbProviderExtended as MongodbProvider
from sqooler.schemes import MongodbLoginInformation
from qlued.models import Token, StorageProviderDb
from qlued.storage_providers import get_storage_provider_from_entry
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dropbox_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from django.test import TestCase
from django.contrib.auth import get_user_model

from sqooler.storage_providers import DropboxProviderExtended as DropboxProvider
from sqooler.storage_providers.dropbox import DropboxProviderExtended as DropboxProvider
from sqooler.schemes import DropboxLoginInformation

from qlued.models import StorageProviderDb
Expand Down
3 changes: 2 additions & 1 deletion tests/test_local_provider.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The tests for the local storage provider
"""

import uuid
import shutil

Expand All @@ -10,7 +11,7 @@
from django.contrib.auth import get_user_model
from django.test import TestCase

from sqooler.storage_providers import LocalProviderExtended as LocalProvider
from sqooler.storage_providers.local import LocalProviderExtended as LocalProvider
from sqooler.schemes import LocalLoginInformation, BackendConfigSchemaIn

from qlued.storage_providers import (
Expand Down
3 changes: 2 additions & 1 deletion tests/test_mongodb_provider.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The tests for the mongodb storage provider
"""

import uuid

from decouple import config
Expand All @@ -9,7 +10,7 @@
from django.contrib.auth import get_user_model
from django.test import TestCase

from sqooler.storage_providers import MongodbProviderExtended as MongodbProvider
from sqooler.storage_providers.mongodb import MongodbProviderExtended as MongodbProvider
from sqooler.schemes import MongodbLoginInformation

from qlued.storage_providers import get_short_backend_name
Expand Down

0 comments on commit eb1941f

Please sign in to comment.