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

chore: Move dev dependencies #1981

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

# Install dependencies
poetry install --directory=src
pip install -r src/requirements.txt --no-deps
pip install -r src/requirements-dev.txt --no-deps

cd src
# Apply database migrations
Expand Down
2 changes: 1 addition & 1 deletion src/citation/views/citation_entry_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class CitationEntryPagination(PageNumberPagination):

class CitationEntryViewSet(ModelViewSet):
queryset = CitationEntry.objects.all()
filter_class = CitationEntryFilter
filterset_class = CitationEntryFilter
filter_backends = (DjangoFilterBackend, OrderingFilter)
permission_classes = [
IsAuthenticated,
Expand Down
2 changes: 1 addition & 1 deletion src/paper/views/paper_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class PaperViewSet(ReactionViewActionMixin, viewsets.ModelViewSet):
dynamic_serializer_class = DynamicPaperSerializer
filter_backends = (SearchFilter, DjangoFilterBackend, OrderingFilter)
search_fields = ("title", "doi", "paper_title")
filter_class = PaperFilter
filterset_class = PaperFilter
throttle_classes = THROTTLE_CLASSES
ordering = "-created_date"

Expand Down
736 changes: 376 additions & 360 deletions src/poetry.lock

Large diffs are not rendered by default.

122 changes: 61 additions & 61 deletions src/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,82 +5,82 @@ description = ""
authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.11"
setuptools = "72.1.0"
Django = "4.2.16"
postgres = "^4.0"
djangorestframework = "3.15.2"
arxiv = "^1.4.8"
beautifulsoup4 = "4.12.2"
bibtexparser = {version = "^2.0.0b3", allow-prereleases = true}
boto3 = "1.34.69"
celery = "5.4.0"
celery-redbeat = "2.2.0"
channels = "^4.1.0"
channels-redis = "^4.2.0"
cloudscraper = "^1.2.60"
daphne = "^4.1.2"
dj-rest-auth = "^2.2.2"
Django = "5.1.3"
django-allauth = "0.50.0"
django-celery-beat = "2.0.0"
django-celery-results = "2.5.1"
django-contrib-comments = "1.9.2"
flake8 = "5.0.4"
django-cors-headers = "3.5.0"
boto3 = "1.34.69"
django-storages = "1.10.1"
django-filter = "2.4.0"
sentry-sdk = "1.45.1"
django-dbbackup = "4.0.2"
django-debug-toolbar = "4.2"
django-elasticsearch-debug-toolbar = "2.0.0"
django-elasticsearch-dsl = "7.3.0"
django-elasticsearch-dsl-drf = "0.22.5"
django-extensions = "3.0.9"
smart-open = "5.2.1"
pre-commit = "2.17.0"
django-filter = "^24.3"
django-health-check = "^3.18.3"
django-ipware = "3.0.1"
django-mjml = "1.3"
django-ses = "3.5.2"
web3 = {version = "6.17.1", extras = ["tester"]}
django-silk = "5.0.2"
django-dbbackup = "4.0.2"
celery = "5.4.0"
django-celery-beat = "2.0.0"
ipdb = "0.13.9"
habanero = "1.0.0"
celery-redbeat = "2.2.0"
python-slugify = "4.0.1"
jellyfish = "0.8.9"
watchdog = "2.1.9"
xmltodict = "0.12.0"
django-simple-history = "3.7.0"
django-storages = "1.10.1"
djangorestframework = "3.15.2"
djangorestframework-api-key = "2.2"
elastic-apm = "6.13.2"
arxiv = "^1.4.8"
elasticsearch = "7.13.4"
elasticsearch-dsl = "7.3.0"
feedparser = "6.0.8"
flower = "^2.0.1"
google-api-python-client = "1.12.1"
mailchimp-marketing = "^3.0.72"
Sift = "5.4.0"
django-ipware = "3.0.1"
stripe = "2.62.0"
lxml = "4.9.4"
habanero = "1.0.0"
html5lib = "1.1"
flower = "^2.0.1"
Pillow = "10.4.0"
feedparser = "6.0.8"
manubot = "0.5.3"
django-celery-results = "2.5.1"
django-elasticsearch-debug-toolbar = "2.0.0"
django-debug-toolbar = "4.2"
PyJWT = "2.8.0"
elasticsearch = "7.13.4"
PyMuPDF = "1.21.0"
pandas = "1.5.3"
psycopg2-binary = "2.9.10"
ipdb = "0.13.9"
iso8601 = "1.0.2"
dj-rest-auth = "^2.2.2"
black = "24.4.2"
cloudscraper = "^1.2.60"
djangorestframework-api-key = "2.2"
jellyfish = "0.8.9"
lxml = "4.9.4"
mailchimp-marketing = "^3.0.72"
manubot = "0.5.3"
Markdown = "^3.3.7"
responses = "0.21.0"
django-mjml = "1.2"
channels = "^4.1.0"
daphne = "^4.1.2"
channels-redis = "^4.2.0"
elasticsearch-dsl = "7.3.0"
django-elasticsearch-dsl = "7.3.0"
django-elasticsearch-dsl-drf = "0.22.5"
q5-django-inlinecss = "0.0.2"
numpy = "<2.0.0"
pandas = "^2.2.3"
pdf2doi = "1.5"
beautifulsoup4 = "4.12.2"
django-allauth = "0.50.0"
bibtexparser = {version = "^2.0.0b3", allow-prereleases = true}
Pillow = "10.4.0"
postgres = "^4.0"
psycopg2-binary = "2.9.10"
PyJWT = "2.8.0"
PyMuPDF = "1.21.0"
python = "^3.11"
python-slugify = "4.0.1"
pyyaml = "6.0.1"
segment-analytics-python = "^2.2.3"
q5-django-inlinecss = "0.0.2"
requests-mock = "^1.12.1"
django-simple-history = "3.7.0"
numpy = "<2.0.0"
django-health-check = "^3.18.3"
responses = "0.21.0"
segment-analytics-python = "^2.2.3"
sentry-sdk = "1.45.1"
setuptools = "^75.3.0"
Sift = "^5.6.1"
smart-open = "5.2.1"
stripe = "2.62.0"
watchdog = "2.1.9"
web3 = {version = "6.17.1", extras = ["tester"]}
xmltodict = "0.12.0"

[tool.poetry.dev-dependencies]
black = "24.4.2"
flake8 = "5.0.4"
pre-commit = "2.17.0"

[tool.poetry.group.dev.dependencies]
coverage = ">=7.6.1"
Expand Down
Loading