Skip to content

Commit e9cc9f3

Browse files
committed
update poetry toml file
1 parent 25f5938 commit e9cc9f3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

django_enum/tests/enum_prop/migrations/0001_initial.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Generated by Django 3.2.15 on 2022-08-12 04:26
1+
# Generated by Django 3.2.15 on 2022-08-17 12:37
22

3-
import django_enum.fields
43
from django.db import migrations, models
4+
import django_enum.fields
55

66

77
class Migration(migrations.Migration):
@@ -34,6 +34,7 @@ class Migration(migrations.Migration):
3434
('non_strict_int', django_enum.fields.EnumPositiveSmallIntegerField(blank=True, choices=[(0, 'Value 1'), (2, 'Value 2'), (32767, 'Value 32767')], default=5, null=True)),
3535
('non_strict_text', django_enum.fields.EnumCharField(blank=True, choices=[('V1', 'Value1'), ('V22', 'Value2'), ('V333', 'Value3'), ('D', 'Default')], default='', max_length=12)),
3636
('no_coerce', django_enum.fields.EnumPositiveSmallIntegerField(blank=True, choices=[(0, 'Value 1'), (2, 'Value 2'), (32767, 'Value 32767')], default=None, null=True)),
37+
('gnss', django_enum.fields.EnumPositiveSmallIntegerField(blank=True, choices=[(1, 'Gps'), (2, 'Glonass'), (4, 'Galileo'), (8, 'Beidou'), (16, 'Qzss')], default=3)),
3738
],
3839
options={
3940
'ordering': ('id',),

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ classifiers = [
2020
"License :: OSI Approved :: MIT License",
2121
"Natural Language :: English",
2222
"Programming Language :: Python",
23-
"Programming Language :: Python :: 3.6",
2423
"Programming Language :: Python :: 3.7",
2524
"Programming Language :: Python :: 3.8",
2625
"Programming Language :: Python :: 3.9",
@@ -39,13 +38,13 @@ packages = [
3938
exclude = ["django_enum/tests"]
4039

4140
[tool.poetry.dependencies]
42-
python = ">=3.6,<4.0"
41+
python = ">=3.7,<4.0"
4342
Django = ">=3.2,<5.0"
44-
enum-properties = {version = "^1.1.1", optional = true}
43+
enum-properties = {version = "^1.2.0", optional = true}
4544
django-filter = {version = "^21", optional = true}
4645
djangorestframework = {version = "^3.9", optional = true}
4746

48-
[tool.poetry.dev-dependencies]
47+
[tool.poetry.group.dev.dependencies]
4948
pytest = "^7.0"
5049
Sphinx = "^5.0.2"
5150
sphinx-rtd-theme = "^1.0.0"

0 commit comments

Comments
 (0)