##// END OF EJS Templates
package: fix dev-env, bumped some deps to be consistent
super-admin -
r1102:2c99a397 python3
parent child Browse files
Show More
@@ -1,3 +1,4 b''
1 #SHELL = /bin/bash
1
2
2 # set by: PATH_TO_OUTDATED_PACKAGES=/some/path/outdated_packages.py
3 # set by: PATH_TO_OUTDATED_PACKAGES=/some/path/outdated_packages.py
3 OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_PACKAGES}
4 OUTDATED_PACKAGES = ${PATH_TO_OUTDATED_PACKAGES}
@@ -32,21 +33,22 b' test-only:'
32 --cov-report=term-missing --cov-report=html --cov=vcsserver vcsserver
33 --cov-report=term-missing --cov-report=html --cov=vcsserver vcsserver
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: build
43 ## Build sdist
43 ## Build sdist/egg
44 sdist:
44 build:
45 python setup.py sdist
45 python -m build
46
46
47
47 .PHONY: dev-env
48 .PHONY: dev-env
48 ## Build sdist
49 ## make dev-env based on the requirements files and install develop of packages
49 dev-env:
50 dev-env:
51 pip install build virtualenv pipdeptree
50 pip wheel --wheel-dir=/home/rhodecode/.cache/pip/wheels -r requirements.txt -r requirements_test.txt -r requirements_debug.txt
52 pip wheel --wheel-dir=/home/rhodecode/.cache/pip/wheels -r requirements.txt -r requirements_test.txt -r requirements_debug.txt
51 pip install --no-index --find-links=/home/rhodecode/.cache/pip/wheels -r requirements.txt -r requirements_test.txt -r requirements_debug.txt
53 pip install --no-index --find-links=/home/rhodecode/.cache/pip/wheels -r requirements.txt -r requirements_test.txt -r requirements_debug.txt
52 pip install -e .
54 pip install -e .
@@ -11,7 +11,7 b' authors = ['
11
11
12 license = {text = "GPL V3"}
12 license = {text = "GPL V3"}
13 requires-python = ">=3.10"
13 requires-python = ">=3.10"
14 dynamic = ["version", "readme"]
14 dynamic = ["version", "readme", "dependencies", "optional-dependencies"]
15 classifiers = [
15 classifiers = [
16 'Development Status :: 6 - Mature',
16 'Development Status :: 6 - Mature',
17 'Intended Audience :: Developers',
17 'Intended Audience :: Developers',
@@ -24,12 +24,15 b' classifiers = ['
24 [project.entry-points."paste.app_factory"]
24 [project.entry-points."paste.app_factory"]
25 main = "vcsserver.http_main:main"
25 main = "vcsserver.http_main:main"
26
26
27
27 [tool.setuptools]
28 [tool.setuptools]
28 packages = ["vcsserver"]
29 packages = ["vcsserver"]
29
30
30 [tool.setuptools.dynamic]
31 [tool.setuptools.dynamic]
31 readme = {file = ["README.rst"], content-type = "text/rst"}
32 readme = {file = ["README.rst"], content-type = "text/rst"}
32 version = {file = "vcsserver/VERSION"}
33 version = {file = "vcsserver/VERSION"}
34 dependencies = {file = ["requirements.txt"]}
35 optional-dependencies.tests = {file = ["requirements_test.txt"]}
33
36
34 [tool.ruff]
37 [tool.ruff]
35 select = [
38 select = [
@@ -47,7 +47,7 b' wcwidth==0.2.6'
47
47
48
48
49 ## test related requirements
49 ## test related requirements
50 -r requirements_test.txt
50 #-r requirements_test.txt
51
51
52 ## uncomment to add the debug libraries
52 ## uncomment to add the debug libraries
53 #-r requirements_debug.txt
53 #-r requirements_debug.txt
@@ -9,30 +9,30 b' pytest-cov==4.0.0'
9 pytest==7.3.1
9 pytest==7.3.1
10 attrs==22.2.0
10 attrs==22.2.0
11 iniconfig==2.0.0
11 iniconfig==2.0.0
12 packaging==23.0
12 packaging==23.1
13 pluggy==1.0.0
13 pluggy==1.0.0
14 pytest-profiling==1.7.0
14 pytest-profiling==1.7.0
15 gprof2dot==2022.7.29
15 gprof2dot==2022.7.29
16 pytest==7.3.1
16 pytest==7.3.1
17 attrs==22.2.0
17 attrs==22.2.0
18 iniconfig==2.0.0
18 iniconfig==2.0.0
19 packaging==23.0
19 packaging==23.1
20 pluggy==1.0.0
20 pluggy==1.0.0
21 six==1.16.0
21 six==1.16.0
22 pytest-runner==6.0.0
22 pytest-runner==6.0.0
23 pytest-sugar==0.9.7
23 pytest-sugar==0.9.7
24 packaging==23.0
24 packaging==23.1
25 pytest==7.3.1
25 pytest==7.3.1
26 attrs==22.2.0
26 attrs==22.2.0
27 iniconfig==2.0.0
27 iniconfig==2.0.0
28 packaging==23.0
28 packaging==23.1
29 pluggy==1.0.0
29 pluggy==1.0.0
30 termcolor==2.3.0
30 termcolor==2.3.0
31 pytest-timeout==2.1.0
31 pytest-timeout==2.1.0
32 pytest==7.3.1
32 pytest==7.3.1
33 attrs==22.2.0
33 attrs==22.2.0
34 iniconfig==2.0.0
34 iniconfig==2.0.0
35 packaging==23.0
35 packaging==23.1
36 pluggy==1.0.0
36 pluggy==1.0.0
37 webtest==3.0.0
37 webtest==3.0.0
38 beautifulsoup4==4.11.2
38 beautifulsoup4==4.11.2
General Comments 0
You need to be logged in to leave comments. Login now