File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 9
9
actions :
10
10
patterns :
11
11
- " *"
12
+ # Python
13
+ - package-ecosystem : " pip"
14
+ directory : " /"
15
+ schedule :
16
+ interval : " weekly"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 49
49
id : pre-publish
50
50
with :
51
51
version : ${{ inputs.version }}
52
- version_bump_script : ./.github/scripts/bump-version.sh
53
52
dry_run : ${{ inputs.dry_run }}
54
53
55
54
build-dist :
91
90
product_name : ${{ env.PRODUCT_NAME }}
92
91
silk_asset_group : ${{ env.SILK_ASSET_GROUP }}
93
92
evergreen_project : ${{ env.EVERGREEN_PROJECT }}
94
- version_bump_script : ./.github/scripts/bump-version.sh
95
93
token : ${{ github.token }}
96
94
repository_url : https://test.pypi.org/legacy/
97
95
dry_run : ${{ inputs.dry_run }}
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
- requires = [" setuptools>=65.0 " ]
3
- build-backend = " setuptools.build_meta "
2
+ requires = [" hatchling " , " hatch-requirements-txt>=0.4.1 " ]
3
+ build-backend = " hatchling.build "
4
4
5
5
[project ]
6
6
name = " django-mongodb"
7
- dynamic = [" version" ]
7
+ dynamic = [" version" , " dependencies " ]
8
8
description = " MongoDB backend for Django"
9
9
readme = " README.md"
10
10
license = {file =" LICENSE" }
@@ -31,10 +31,6 @@ classifiers = [
31
31
" Programming Language :: Python :: 3.11" ,
32
32
" Programming Language :: Python :: 3.12" ,
33
33
]
34
- dependencies = [
35
- " django>=5.0,<5.1" ,
36
- " pymongo>=4.6,<5.0" ,
37
- ]
38
34
39
35
[project .optional-dependencies ]
40
36
docs = [ " sphinx>=7" ]
@@ -45,8 +41,12 @@ Documentation = "https://django-mongodb.readthedocs.io"
45
41
Source = " https://github.com/mongodb-labs/django-mongodb"
46
42
Tracker = " https://github.com/mongodb-labs/django-mongodb/issues"
47
43
48
- [tool .setuptools .dynamic ]
49
- version = {attr = " django_mongodb.__version__" }
44
+ [tool .hatch .version ]
45
+ path = " django_mongodb/__init__.py"
46
+ validate-bump = false
47
+
48
+ [tool .hatch .metadata .hooks .requirements_txt ]
49
+ files = [" requirements.txt" ]
50
50
51
51
[tool .mypy ]
52
52
strict = true
@@ -119,3 +119,5 @@ partial_branches = ["if (.*and +)*not _use_c( and.*)*:"]
119
119
120
120
[tool .coverage .html ]
121
121
directory = " htmlcov"
122
+
123
+ [tool .hatch ]
You can’t perform that action at this time.
0 commit comments