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

Pull changes to main for 0.0.5 release #13

Merged
merged 14 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ classifiers = [
"Topic :: Software Development",
]
dependencies = [
"Django >= 3.1, < 4.0",
"Django >= 3.1, < 5.0",
"django-dynamicsettings==0.0.3",
"django-environ==0.10.0",
"requests==2.31.0",
"tqdm==4.65.0",
"packageurl-python==0.15.0",
"requests==2.32.2",
"tqdm==4.66.3",
"packageurl-python==0.15.1",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -99,4 +99,4 @@ select = [
'W',
"I001",
]
src = ['sbomrepo']
src = ['sbomrepo']
4 changes: 2 additions & 2 deletions sbomrepo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
__version__ = "0.0.3"
__version__ = "0.0.5"

import os
import sys

def django_manage():
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
execute_from_command_line(sys.argv)
2 changes: 1 addition & 1 deletion sbomrepo/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from django.conf import settings

APP_SETTINGS = dict(
VERSION='0.0.3',
VERSION='0.0.4',
)

class SbomRepoConfig(AppConfig):
Expand Down
2 changes: 1 addition & 1 deletion sbomrepo/management/commands/resync_vulnerabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


class Command(BaseCommand):
def handle(self):
def handle(self, *args: Any, **options: Any):
session = requests.Session()

ecosystems = get_osv_ecosystems()
Expand Down