Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 14c1ddc

Browse files
pyup-botsliverc
andauthored
Scheduled biweekly dependency update for week 38 (#1176)
* Update black from 23.3.0 to 23.9.1 * Update flake8 from 6.0.0 to 6.1.0 * Update flake8-bugbear from 23.3.23 to 23.9.16 * Update flake8-isort from 6.0.0 to 6.1.0 * Update sphinx from 6.1.3 to 7.2.6 * Update sphinx_rtd_theme from 1.2.0 to 1.3.0 * Update django-filter from 23.1 to 23.3 * Update pyyaml from 6.0 to 6.0.1 * Update factory-boy from 3.2.1 to 3.3.0 * Update faker from 18.4.0 to 19.6.1 * Update pytest from 7.3.1 to 7.4.2 * Update pytest-cov from 4.0.0 to 4.1.0 * Update syrupy from 3.0.6 to 4.5.0 * Adopt to updated versions * Use Python 3.9 for build * Removed duplicated entry in set * Increased tox base python to 3.9 --------- Co-authored-by: Oliver Sauder <os@esite.ch>
1 parent b75255c commit 14c1ddc

File tree

12 files changed

+28
-20
lines changed

12 files changed

+28
-20
lines changed

‎.github/workflows/tests.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
tox-env: ["black", "lint", "docs"]
4343
steps:
4444
- uses: actions/checkout@v2
45-
- name: Set up Python 3.8
45+
- name: Set up Python 3.9
4646
uses: actions/setup-python@v2
4747
with:
48-
python-version: 3.8
48+
python-version: 3.9
4949
- name: Install dependencies
5050
run: |
5151
python -m pip install --upgrade pip

‎.readthedocs.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: "ubuntu-22.04"
55
tools:
6-
python: "3.8"
6+
python: "3.9"
77

88
sphinx:
99
configuration: docs/conf.py

‎example/factories.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class Meta:
3737

3838
class AuthorFactory(factory.django.DjangoModelFactory):
3939
class Meta:
40+
skip_postgeneration_save = True
4041
model = Author
4142

4243
name = factory.LazyAttribute(lambda x: faker.name())
@@ -49,6 +50,7 @@ class Meta:
4950
class AuthorBioFactory(factory.django.DjangoModelFactory):
5051
class Meta:
5152
model = AuthorBio
53+
skip_postgeneration_save = True
5254

5355
author = factory.SubFactory(AuthorFactory)
5456
body = factory.LazyAttribute(lambda x: faker.text())
@@ -69,6 +71,7 @@ class Meta:
6971
class EntryFactory(factory.django.DjangoModelFactory):
7072
class Meta:
7173
model = Entry
74+
skip_postgeneration_save = True
7275

7376
headline = factory.LazyAttribute(lambda x: faker.sentence(nb_words=4))
7477
body_text = factory.LazyAttribute(lambda x: faker.text())
@@ -130,6 +133,7 @@ class Meta:
130133
class CompanyFactory(factory.django.DjangoModelFactory):
131134
class Meta:
132135
model = Company
136+
skip_postgeneration_save = True
133137

134138
name = factory.LazyAttribute(lambda x: faker.company())
135139
current_project = factory.SubFactory(ArtProjectFactory)

‎example/tests/__snapshots__/test_errors.ambr‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# serializer version: 1
12
# name: test_first_level_attribute_error
23
dict({
34
'errors': list([

‎example/tests/__snapshots__/test_openapi.ambr‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# serializer version: 1
12
# name: test_delete_request
23
'''
34
{

‎example/tests/integration/test_polymorphism.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def test_polymorphism_on_included_relations(single_company, client):
5050
for rel in content["data"]["relationships"]["futureProjects"]["data"]
5151
} == {"researchProjects", "artProjects"}
5252
assert {x.get("type") for x in content.get("included")} == {
53-
"artProjects",
5453
"artProjects",
5554
"researchProjects",
5655
}, "Detail included types are incorrect"
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
black==23.3.0
2-
flake8==6.0.0
3-
flake8-bugbear==23.3.23
4-
flake8-isort==6.0.0
1+
black==23.9.1
2+
flake8==6.1.0
3+
flake8-bugbear==23.9.16
4+
flake8-isort==6.1.0
55
isort==5.12.0
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
recommonmark==0.7.1
2-
Sphinx==6.1.3
3-
sphinx_rtd_theme==1.2.0
2+
Sphinx==7.2.6
3+
sphinx_rtd_theme==1.3.0
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
django-filter==23.1
1+
django-filter==23.3
22
django-polymorphic==3.1.0
3-
pyyaml==6.0
3+
pyyaml==6.0.1
44
uritemplate==4.1.1
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
factory-boy==3.2.1
2-
Faker==18.4.0
3-
pytest==7.3.1
4-
pytest-cov==4.0.0
1+
factory-boy==3.3.0
2+
Faker==19.6.1
3+
pytest==7.4.2
4+
pytest-cov==4.1.0
55
pytest-django==4.5.2
66
pytest-factoryboy==2.5.1
7-
syrupy==3.0.6
7+
syrupy==4.5.0

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /