Skip to content

Commit

Permalink
add migration for list model, drop 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Aug 4, 2023
1 parent f598322 commit 5c570fb
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11']
python-version: ['3.11']
django-version: ['4.1', '4.2', 'dev']
exclude:
- python-version: '3.10'
django-version: 'dev'
services:
mysql:
image: mysql:latest
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Generated by Django 4.2.3 on 2023-08-02 23:56

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("edc_pharmacy", "0018_alter_rxrefill_managers"),
]

operations = [
migrations.AddField(
model_name="container",
name="extra_value",
field=models.CharField(max_length=250, null=True),
),
migrations.AddField(
model_name="containertype",
name="extra_value",
field=models.CharField(max_length=250, null=True),
),
migrations.AddField(
model_name="formulationtype",
name="extra_value",
field=models.CharField(max_length=250, null=True),
),
migrations.AddField(
model_name="frequencyunits",
name="extra_value",
field=models.CharField(max_length=250, null=True),
),
migrations.AddField(
model_name="route",
name="extra_value",
field=models.CharField(max_length=250, null=True),
),
migrations.AddField(
model_name="units",
name="extra_value",
field=models.CharField(max_length=250, null=True),
),
migrations.AddField(
model_name="unittype",
name="extra_value",
field=models.CharField(max_length=250, null=True),
),
]
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@ exclude_lines = [
legacy_tox_ini = """
[tox]
envlist =
py{310}-dj{41,42},
py{311}-dj{41,42,dev},
lint
isolated_build = true
[gh-actions]
python =
3.10: py310
3.11: py311, lint
[gh-actions:env]
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ classifiers=
Intended Audience :: Developers
Intended Audience :: Science/Research
Operating System :: OS Independent
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
License :: OSI Approved :: GNU General Public License v3 (GPLv3)


[options]
python_requires = >=3.10
python_requires = >=3.11
zip_safe = False
include_package_data = True
packages = find:
Expand Down

0 comments on commit 5c570fb

Please sign in to comment.