Commit graph

1057 commits

Author SHA1 Message Date
Serg Tereshchenko
9e1acc4ee4 chore: Remove tox.ini; move flake8 config to setup.cfg 2022-07-13 23:20:33 +03:00
Serhii Tereshchenko
d1d3c5cdc3
Merge pull request #646 from deschler/remove-six
fix: Remove six (old compat layer for python2)
2022-07-13 23:18:07 +03:00
Serg Tereshchenko
86b67c271e fix: Remove six (old compat layer for python2) 2022-07-13 23:14:28 +03:00
Serg Tereshchenko
10d2f123c8 chore(release): 0.18.3-beta.1 2022-07-13 20:05:12 +03:00
Serg Tereshchenko
a8e5d24b11 cleanup: Remove obsolete code for old django in loaddata command 2022-07-13 20:04:39 +03:00
Serhii Tereshchenko
fba75cca07
Merge pull request #645 from deschler/pytest
feat(dev): Migrate to pytest
2022-07-13 19:55:37 +03:00
Serg Tereshchenko
89abad769c cleanup: Remove six from tests; Remove get_query_set; Remove unused has_custom_queryset 2022-07-13 19:49:54 +03:00
Serg Tereshchenko
426a8f5ff6 cleanup: Remove obsolete skipUnless 2022-07-13 19:39:16 +03:00
Serg Tereshchenko
480cdcfaf9 refactor: Use pytest assertions
This was mostly converted automatically with

    pipx run unittest2pytest modeltranslation/tests -w

And some manual fixes.
2022-07-13 19:37:44 +03:00
Serg Tereshchenko
d3e2396be6 feat(dev): Migrate to pytest 2022-07-13 19:02:47 +03:00
Serg Tereshchenko
8535a4ee23 chore(release): 0.18.3-beta.0 2022-07-11 00:02:03 +03:00
Serhii Tereshchenko
39bbe821b3
feat: Support named argument for values_list (#644)
Co-authored-by: serdtsekol <serdtsekol@gmail.com>
2022-07-11 00:00:24 +03:00
Serg Tereshchenko
1b56110067 chore: Update typing 2022-07-10 23:51:19 +03:00
dependabot[bot]
f7084f3150
build(deps): bump django from 3.2.13 to 3.2.14 (#642)
Bumps [django](https://github.com/django/django) from 3.2.13 to 3.2.14.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.13...3.2.14)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-06 11:04:01 +03:00
Serg Tereshchenko
4b1adbe900 chore: Automatically create github release after tagging 2022-05-27 19:29:28 +03:00
Serg Tereshchenko
f550f7d3e4 chore: Build bdist_wheel 2022-05-27 18:12:46 +03:00
Serg Tereshchenko
0a78765fa1 chore: Update banner 2022-05-27 10:32:30 +03:00
Serg Tereshchenko
a9948e1c9e chore(release): 0.18.2 2022-05-15 18:05:54 +03:00
Serg Tereshchenko
58691691b7 cleanup: Remove old south mentions 2022-05-15 11:16:58 +03:00
Serg Tereshchenko
15641b60e0 chore: Move links from README to setup.cfg 2022-05-15 10:51:35 +03:00
Serhii Tereshchenko
29deb95bf3
feat: Update test matrix; Drop python 3.6, add Python 3.10 (#638) 2022-05-15 10:38:07 +03:00
Serg Tereshchenko
36e31678fc chore: Update workflow 2022-05-15 09:42:01 +03:00
Serg Tereshchenko
bd4e7fdf0b chore: Move badges to the top 2022-05-15 09:21:24 +03:00
Serg Tereshchenko
04e4ae36a7 chore: Use importlib-metadata 2022-05-15 09:16:49 +03:00
Serg Tereshchenko
289055fa57 chore(release): 0.18.1 2022-05-15 08:40:28 +03:00
Serg Tereshchenko
ad2ca8bb5f chore: Test actual source dist 2022-05-15 08:38:55 +03:00
Serg Tereshchenko
ab66e8d2f7 fix: Fix install (included missing VERSION)
Refs #637
2022-05-15 08:36:47 +03:00
Serg Tereshchenko
84c535516f chore(release): 0.18.0 2022-05-14 11:30:09 +03:00
Serg Tereshchenko
876f2e7158 fix: Fix django version detect during install 2022-05-14 11:27:19 +03:00
Serg Tereshchenko
79d2e089ef fix: Add django version check for default_app_config 2022-05-14 11:23:27 +03:00
Serhii Tereshchenko
6b4bb733d9
fix: Store version as plain text file to simplify bumping (#636)
BREAKING CHANGE: Replaced `VERSION` in tuple format by `__version__` as a string
2022-05-14 11:11:07 +03:00
Serg Tereshchenko
155445f1a7 chore: Update dev deps 2022-05-13 21:56:47 +03:00
Serg Tereshchenko
2292830fca chore(release): 0.17.7 2022-05-04 09:27:30 +03:00
Serg Tereshchenko
89be420540 chore: Move selects_all 2022-05-04 09:26:50 +03:00
Suyeol Jeon
defc37c7a5
fix: Do not include annotation fields when selecting specific fields (#634) 2022-05-04 09:25:53 +03:00
Serg Tereshchenko
f5264aa5b9 chore(release): 0.17.6 2022-04-29 13:27:06 +03:00
Suyeol Jeon
6f2688f52c
fix: Preserve annotate() fields in queryset (#633) 2022-04-29 13:26:15 +03:00
dependabot[bot]
86c3a520aa
build(deps): bump django from 3.2.12 to 3.2.13 (#632)
Bumps [django](https://github.com/django/django) from 3.2.12 to 3.2.13.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.12...3.2.13)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 13:29:28 +03:00
Serhii Tereshchenko
0617eadfb4
chore: Add "Support Ukraine" info (#630) 2022-03-07 18:16:50 +02:00
dependabot[bot]
2d55d2704d
build(deps): bump django from 3.2.11 to 3.2.12 (#629)
Bumps [django](https://github.com/django/django) from 3.2.11 to 3.2.12.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.11...3.2.12)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-11 13:49:08 +02:00
dependabot[bot]
28e7d78d80
build(deps): bump django from 3.2 to 3.2.11 (#627)
Bumps [django](https://github.com/django/django) from 3.2 to 3.2.11.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2...3.2.11)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-30 11:51:56 +02:00
dependabot[bot]
5c01e8824d
build(deps): bump sqlparse from 0.4.1 to 0.4.2 (#626)
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/andialbrecht/sqlparse/releases)
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.1...0.4.2)

---
updated-dependencies:
- dependency-name: sqlparse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-30 11:51:10 +02:00
Serhii Tereshchenko
75195b28f4
chore: Update test matrix (add django 4) (#625) 2022-01-30 11:47:57 +02:00
Serg Tereshchenko
b9a8d8ecc4 chore(release): 0.17.5 2022-01-30 11:28:50 +02:00
Serg Tereshchenko
41ef9cad92 Revert "chore: Avoid deprecation warning in Django 3.2+ (#618)"
This reverts commit 1e0b4fe8c6.

# Conflicts:
#	modeltranslation/__init__.py
2022-01-30 11:28:29 +02:00
Serg Tereshchenko
97534b9973 chore(release): 0.17.4 2022-01-28 16:26:58 +02:00
Serg Tereshchenko
391e2b33b8 chore: Enable actions for pull requests 2021-12-07 17:25:26 +02:00
James McKinney
1e0b4fe8c6
chore: Avoid deprecation warning in Django 3.2+ (#618) 2021-11-09 10:10:17 +02:00
partizan
26b9a7829e
Merge pull request #613 from deschler/black
Use Black
2021-09-18 11:08:57 +03:00
Serg Tereshchenko
03b81da556 chore: Add black, update flake8 2021-09-18 11:05:35 +03:00