##// END OF EJS Templates
deps: removed pinned deps in favor of moving them back into the requirements.txt file itself
super-admin -
r1058:2b749a9a python3
parent child Browse files
Show More
@@ -1,93 +1,93 b''
1
1
2 # set by: PATH_TO_OUTDATED_PACKAGES=/some/path/outdated_packages.py
2 # set by: PATH_TO_OUTDATED_PACKAGES=/some/path/outdated_packages.py
3 OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_PACKAGES}
3 OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_PACKAGES}
4
4
5 .PHONY: clean
5 .PHONY: clean
6 ## Cleanup compiled and cache py files
6 ## Cleanup compiled and cache py files
7 clean:
7 clean:
8 make test-clean
8 make test-clean
9 find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';'
9 find . -type f \( -iname '*.c' -o -iname '*.pyc' -o -iname '*.so' -o -iname '*.orig' \) -exec rm '{}' ';'
10
10
11
11
12 .PHONY: test
12 .PHONY: test
13 ## run test-clean and tests
13 ## run test-clean and tests
14 test:
14 test:
15 make test-clean
15 make test-clean
16 make test-only
16 make test-only
17
17
18
18
19 .PHONY:test-clean
19 .PHONY:test-clean
20 ## run test-clean and tests
20 ## run test-clean and tests
21 test-clean:
21 test-clean:
22 rm -rf coverage.xml htmlcov junit.xml pylint.log result
22 rm -rf coverage.xml htmlcov junit.xml pylint.log result
23 find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';'
23 find . -type d -name "__pycache__" -prune -exec rm -rf '{}' ';'
24 find . -type f \( -iname '.coverage.*' \) -exec rm '{}' ';'
24 find . -type f \( -iname '.coverage.*' \) -exec rm '{}' ';'
25
25
26
26
27 .PHONY: test-only
27 .PHONY: test-only
28 ## Run tests only without cleanup
28 ## Run tests only without cleanup
29 test-only:
29 test-only:
30 PYTHONHASHSEED=random \
30 PYTHONHASHSEED=random \
31 py.test -x -vv -r xw -p no:sugar \
31 py.test -x -vv -r xw -p no:sugar \
32 --cov-report=term-missing --cov-report=html --cov=vcsserver vcsserver
32 --cov-report=term-missing --cov-report=html --cov=vcsserver vcsserver
33
33
34
34
35
35
36 .PHONY: pip-packages
36 .PHONY: pip-packages
37 ## Show outdated packages
37 ## Show outdated packages
38 pip-packages:
38 pip-packages:
39 python ${OUTDATED_PACKAGES}
39 python ${OUTDATED_PACKAGES}
40
40
41
41
42 .PHONY: sdist
42 .PHONY: sdist
43 ## Build sdist
43 ## Build sdist
44 sdist:
44 sdist:
45 python setup.py sdist
45 python setup.py sdist
46
46
47 .PHONY: dev-env
47 .PHONY: dev-env
48 ## Build sdist
48 ## Build sdist
49 dev-env:
49 dev-env:
50 pip install -r requirements.txt -r requirements_pinned.txt -r requirements_debug.txt -r requirements_test.txt
50 pip install -r requirements.txt -r requirements_debug.txt -r requirements_test.txt
51 pip install -e .
51 pip install -e .
52
52
53 # Default command on calling make
53 # Default command on calling make
54 .DEFAULT_GOAL := show-help
54 .DEFAULT_GOAL := show-help
55
55
56 .PHONY: show-help
56 .PHONY: show-help
57 show-help:
57 show-help:
58 @echo "$$(tput bold)Available rules:$$(tput sgr0)"
58 @echo "$$(tput bold)Available rules:$$(tput sgr0)"
59 @echo
59 @echo
60 @sed -n -e "/^## / { \
60 @sed -n -e "/^## / { \
61 h; \
61 h; \
62 s/.*//; \
62 s/.*//; \
63 :doc" \
63 :doc" \
64 -e "H; \
64 -e "H; \
65 n; \
65 n; \
66 s/^## //; \
66 s/^## //; \
67 t doc" \
67 t doc" \
68 -e "s/:.*//; \
68 -e "s/:.*//; \
69 G; \
69 G; \
70 s/\\n## /---/; \
70 s/\\n## /---/; \
71 s/\\n/ /g; \
71 s/\\n/ /g; \
72 p; \
72 p; \
73 }" ${MAKEFILE_LIST} \
73 }" ${MAKEFILE_LIST} \
74 | LC_ALL='C' sort --ignore-case \
74 | LC_ALL='C' sort --ignore-case \
75 | awk -F '---' \
75 | awk -F '---' \
76 -v ncol=$$(tput cols) \
76 -v ncol=$$(tput cols) \
77 -v indent=19 \
77 -v indent=19 \
78 -v col_on="$$(tput setaf 6)" \
78 -v col_on="$$(tput setaf 6)" \
79 -v col_off="$$(tput sgr0)" \
79 -v col_off="$$(tput sgr0)" \
80 '{ \
80 '{ \
81 printf "%s%*s%s ", col_on, -indent, $$1, col_off; \
81 printf "%s%*s%s ", col_on, -indent, $$1, col_off; \
82 n = split($$2, words, " "); \
82 n = split($$2, words, " "); \
83 line_length = ncol - indent; \
83 line_length = ncol - indent; \
84 for (i = 1; i <= n; i++) { \
84 for (i = 1; i <= n; i++) { \
85 line_length -= length(words[i]) + 1; \
85 line_length -= length(words[i]) + 1; \
86 if (line_length <= 0) { \
86 if (line_length <= 0) { \
87 line_length = ncol - indent - length(words[i]) - 1; \
87 line_length = ncol - indent - length(words[i]) - 1; \
88 printf "\n%*s ", -indent, " "; \
88 printf "\n%*s ", -indent, " "; \
89 } \
89 } \
90 printf "%s ", words[i]; \
90 printf "%s ", words[i]; \
91 } \
91 } \
92 printf "\n"; \
92 printf "\n"; \
93 }'
93 }'
@@ -1,42 +1,62 b''
1 ## dependencies
1 ## dependencies
2
2
3 configobj==5.0.8
3 configobj==5.0.8
4
4
5 dogpile.cache==1.1.8
5 dogpile.cache==1.1.8
6
6
7 decorator==5.1.1
7 decorator==5.1.1
8 dulwich==0.21.3
8 dulwich==0.21.3
9 hg-evolve==11.0.0
9 hg-evolve==11.0.0
10
10
11 mercurial==6.3.3
11 mercurial==6.3.3
12 msgpack-python==0.5.6
12 msgpack-python==0.5.6
13 more-itertools==9.1.0
13 more-itertools==9.1.0
14
14
15 pastedeploy==3.0.1
15 pastedeploy==3.0.1
16 pyramid==2.0.1
16 pyramid==2.0.1
17 pygit2==1.11.1
17 pygit2==1.11.1
18
18
19 repoze.lru==0.7
19 repoze.lru==0.7
20 redis==4.5.1
20 redis==4.5.1
21 simplejson==3.18.3
21 simplejson==3.18.3
22 subvertpy==0.11.0
22 subvertpy==0.11.0
23
23
24 translationstring==1.4
24 translationstring==1.4
25 webob==1.8.7
25 webob==1.8.7
26 zope.deprecation==4.4.0
26 zope.deprecation==4.4.0
27 zope.interface==5.5.2
27 zope.interface==5.5.2
28
28
29 ## http servers
29 ## http servers
30 #gevent==20.6.0
30 #gevent==20.6.0
31 #greenlet==0.4.16
31 #greenlet==0.4.16
32 gunicorn==20.1.0
32 gunicorn==20.1.0
33 waitress==2.1.2
33 waitress==2.1.2
34
34
35 # contains not directly required libraries we want to pin the version.
36
37 atomicwrites==1.4.1
38 attrs==22.2.0
39 contextlib2==21.6.0
40 cffi==1.15.1
41 hupper==1.11
42 importlib-metadata==6.0.0
43 packaging==23.0
44 pathlib2==2.3.7.post1
45 pygments==2.14.0
46 pyparsing==3.0.9
47 psutil==5.9.4
48 pluggy==1.0.0
49 scandir==1.10.0
50 setproctitle==1.3.2
51 venusian==3.0.0
52 wcwidth==0.2.6
53 toml==0.10.2
54
35 ## test related requirements
55 ## test related requirements
36 -r requirements_test.txt
56 -r requirements_test.txt
37
57
38 ## uncomment to add the debug libraries
58 ## uncomment to add the debug libraries
39 #ipdb==0.13.2
59 #ipdb==0.13.2
40 #ipython==7.15.0
60 #ipython==7.15.0
41
61
42 #-r requirements_debug.txt
62 #-r requirements_debug.txt
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now