Skip to content

Commit b53490b

Browse files
authored
Merge pull request #164 from netzkolchose/update_requirements
update package requirements
2 parents e490858 + 1cffcc1 commit b53490b

File tree

6 files changed

+43
-50
lines changed

6 files changed

+43
-50
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
#
7272
# This is also used if you do content translation via gettext catalogs.
7373
# Usually you set "language" from the command line for these cases.
74-
language = None
74+
language = 'en'
7575

7676
# List of patterns, relative to source directory, that match files and
7777
# directories to ignore when looking for source files.
@@ -98,7 +98,7 @@
9898
# Add any paths that contain custom static files (such as style sheets) here,
9999
# relative to this directory. They are copied after the builtin static files,
100100
# so a file named "default.css" will overwrite the builtin "default.css".
101-
html_static_path = ['_static']
101+
html_static_path = []
102102

103103
# Custom sidebar templates, must be a dictionary that maps document names
104104
# to template names.
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
graphviz==0.8.2
2-
Pygments==2.15.0
3-
jinja2<3.1.0
4-
Sphinx==6.2
5-
sphinx_rtd_theme>=0.3.1
6-
coverage>=5.5.0
7-
typing_extensions>=4.1
1+
graphviz>=0.20.3
2+
Pygments>=2.19.1
3+
jinja2>=3.1.6
4+
Sphinx>=7.1.2
5+
sphinx_rtd_theme>=3.0.2
6+
coverage>=7.6.1
7+
typing_extensions>=4.13.2
88

99
psycopg>=3.1.8
1010
psycopg-binary>=3.1.8
1111
tqdm==4.66.3
1212
django-fast-update
13-
alabaster==0.7.12

example/requirements-ci.txt

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
graphviz==0.8.2
2-
Pygments==2.15.0
3-
jinja2<3.1.0
4-
Sphinx==6.2
5-
sphinx_rtd_theme>=0.3.1
6-
coverage>=5.5.0
7-
typing_extensions==4.0.1
1+
graphviz>=0.20.3
2+
Pygments>=2.19.1
3+
jinja2>=3.1.6
4+
Sphinx>=7.1.2
5+
sphinx_rtd_theme>=3.0.2
6+
coverage>=7.6.1
7+
typing_extensions>=4.13.2
88

9-
mysqlclient>=2.1.0
10-
psycopg2-binary>=2.9.3
11-
tqdm==4.66.3
9+
mysqlclient>=2.2.7
10+
psycopg2-binary>=2.9.10
11+
tqdm>=4.67.1
1212
django-fast-update
13-
alabaster==0.7.12

example/requirements-dev.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Django==3.2.*
2-
graphviz>=0.8.2
3-
Pygments>=2.2.0
4-
jinja2<3.1.0
5-
Sphinx>=6.2
6-
sphinx_rtd_theme>=0.3.1
7-
coverage>=5.5.0
8-
typing_extensions==4.0.1
1+
Django>=5.2
2+
graphviz>=0.20.3
3+
Pygments>=2.19.1
4+
jinja2>=3.1.6
5+
Sphinx>=7.1.2
6+
sphinx_rtd_theme>=3.0.2
7+
coverage>=7.6.1
8+
typing_extensions>=4.13.2
99

10-
mysqlclient>=2.1.0
11-
psycopg2-binary>=2.9.3
12-
tqdm==4.66.3
10+
mysqlclient>=2.2.7
11+
psycopg2-binary>=2.9.10
12+
tqdm>=4.67.1
1313
django-fast-update

example/requirements-rtd.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# requirements for read the docs without database packages
2-
Django==3.2.*
3-
graphviz>=0.8.2
4-
Pygments>=2.2.0
5-
jinja2<3.1.0
6-
Sphinx>=6.2
7-
sphinx_rtd_theme>=0.3.1
8-
coverage>=5.5.0
9-
typing_extensions==4.0.1
2+
Django>=5.2
3+
graphviz>=0.20.3
4+
Pygments>=2.19.1
5+
jinja2>=3.1.6
6+
Sphinx>=7.1.2
7+
sphinx_rtd_theme>=3.0.2
8+
coverage>=7.6.1
9+
typing_extensions>=4.13.2
1010

11-
tqdm==4.66.3
11+
tqdm>=4.67.1
1212
django-fast-update
13-
alabaster==0.7.12

setup.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@
44
long_description = f.read()
55

66

7-
def get_version(path):
8-
with open(path) as f:
9-
for line in f:
10-
if line.startswith('__version__'):
11-
delim = '"' if '"' in line else "'"
12-
return line.split(delim)[1]
13-
raise RuntimeError('Unable to find version string.')
7+
def get_version():
8+
import computedfields
9+
return computedfields.__version__
1410

1511

1612
setup(
@@ -22,7 +18,7 @@ def get_version(path):
2218
'typing_extensions>=4.1',
2319
'django-fast-update'
2420
],
25-
version=get_version('computedfields/__init__.py'),
21+
version=get_version(),
2622
license='MIT',
2723
description='autoupdated database fields for model methods',
2824
long_description=long_description,

0 commit comments

Comments
 (0)