Skip to content

Commit

Permalink
Compatibility with pulpcore 3.25 to <3.40
Browse files Browse the repository at this point in the history
fixes #139
  • Loading branch information
mdellweg committed May 24, 2023
1 parent 6459070 commit ded7672
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/139.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added compatibility for pulpcore 3.25 up to <3.40.
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Generated by Django 4.2.1 on 2023-05-24 10:00

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
dependencies = [
("core", "0106_alter_artifactdistribution_distribution_ptr_and_more"),
("cookbook", "0003_json_fields"),
]

operations = [
migrations.AlterField(
model_name="cookbookdistribution",
name="distribution_ptr",
field=models.OneToOneField(
auto_created=True,
on_delete=django.db.models.deletion.CASCADE,
parent_link=True,
primary_key=True,
serialize=False,
to="core.distribution",
),
),
migrations.AlterField(
model_name="cookbookpackagecontent",
name="content_ptr",
field=models.OneToOneField(
auto_created=True,
on_delete=django.db.models.deletion.CASCADE,
parent_link=True,
primary_key=True,
serialize=False,
to="core.content",
),
),
migrations.AlterField(
model_name="cookbookpublication",
name="publication_ptr",
field=models.OneToOneField(
auto_created=True,
on_delete=django.db.models.deletion.CASCADE,
parent_link=True,
primary_key=True,
serialize=False,
to="core.publication",
),
),
migrations.AlterField(
model_name="cookbookremote",
name="remote_ptr",
field=models.OneToOneField(
auto_created=True,
on_delete=django.db.models.deletion.CASCADE,
parent_link=True,
primary_key=True,
serialize=False,
to="core.remote",
),
),
migrations.AlterField(
model_name="cookbookrepository",
name="repository_ptr",
field=models.OneToOneField(
auto_created=True,
on_delete=django.db.models.deletion.CASCADE,
parent_link=True,
primary_key=True,
serialize=False,
to="core.repository",
),
),
]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pulpcore>=3.16,<3.25
pulpcore>=3.25,<3.40

0 comments on commit ded7672

Please sign in to comment.