File tree Expand file tree Collapse file tree
continuous_integration/dockerfiles Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 popd
3434
3535 pip install .
36- pip install ".[ dev]"
36+ pip install -r requirements- dev.txt
3737 pip list
3838 - name : Build Docs
3939 run : |
Original file line number Diff line number Diff line change 4545 popd
4646
4747 pip install .
48- pip install ".[ dev]"
48+ pip install -r requirements- dev.txt
4949 pip list
5050 - name : Build Docs
5151 run : |
Original file line number Diff line number Diff line change 2626 - name : Install dev dependencies
2727 run : |
2828 set -vxeuo pipefail
29- pip install ".[ dev]"
29+ pip install -r requirements- dev.txt
3030 python -m pip list
3131
3232 - name : Run pre-commit
Original file line number Diff line number Diff line change 5858
5959 pip install --upgrade pip
6060 pip install .
61- pip install ".[ dev]"
61+ pip install -r requirements- dev.txt
6262 # pip install "pydantic${{ matrix.pydantic-version }}"
6363 # pip install bluesky==1.11.0
6464
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ include AUTHORS.rst
22include CONTRIBUTING.rst
33include LICENSE
44include README.rst
5+ include requirements.txt
6+
57include bluesky_httpserver/database/alembic.ini.template
68include bluesky_httpserver/database/migrations/env.py
79include bluesky_httpserver/database/migrations/script.py.mako
Original file line number Diff line number Diff line change @@ -13,13 +13,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1313
1414WORKDIR /workspace
1515
16+ COPY requirements.txt requirements-dev.txt ./
1617COPY pyproject.toml setup.py setup.cfg MANIFEST.in versioneer.py README.rst AUTHORS.rst LICENSE ./
1718COPY bluesky_httpserver ./bluesky_httpserver
1819
1920RUN python -m pip install --upgrade pip setuptools wheel numpy && \
2021 python -m pip install git+https://github.com/bluesky/bluesky-queueserver.git && \
2122 python -m pip install git+https://github.com/bluesky/bluesky-queueserver-api.git && \
22- python -m pip install ".[dev]"
23+ python -m pip install -r requirements-dev.txt && \
24+ python -m pip install .
2325
2426COPY scripts/docker/run_shard_in_container.sh /usr/local/bin/run_shard_in_container.sh
2527RUN chmod +x /usr/local/bin/run_shard_in_container.sh
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ Install the HTTP Server in editable mode::
9898
9999Install development dependencies::
100100
101- $ pip install -e ".[ dev]"
101+ $ pip install -r requirements- dev.txt
102102
103103
104104Setting up `pre-commit `
Original file line number Diff line number Diff line change 1- [build-system ]
2- requires = [" setuptools>=64" , " wheel" ]
3- build-backend = " setuptools.build_meta"
4-
5- [project ]
6- name = " bluesky-httpserver"
7- dynamic = [" version" ]
8- description = " HTTP Server for communicating with Bluesky Queue Server"
9- readme = " README.rst"
10- requires-python = " >=3.7"
11- license = " BSD-3-Clause"
12- authors = [{ name = " Brookhaven National Laboratory" }]
13- classifiers = [
14- " Development Status :: 2 - Pre-Alpha" ,
15- " Natural Language :: English" ,
16- " Programming Language :: Python :: 3" ,
17- ]
18- dependencies = [
19- " alembic" ,
20- " bluesky-queueserver" ,
21- " bluesky-queueserver-api" ,
22- " cachetools" ,
23- " fastapi" ,
24- " httpx" ,
25- " ldap3" ,
26- " orjson" ,
27- " pamela" ,
28- " pydantic" ,
29- " pydantic-settings" ,
30- " python-jose" ,
31- " pyzmq" ,
32- " sqlalchemy" ,
33- " starlette" ,
34- " typing-extensions; python_version < '3.8'" ,
35- " uvicorn" ,
36- ]
37-
38- [project .optional-dependencies ]
39- dev = [
40- " black" ,
41- " codecov" ,
42- " coverage" ,
43- " cryptography" ,
44- " fastapi[all]" ,
45- " flake8" ,
46- " ipython" ,
47- " isort" ,
48- " matplotlib" ,
49- " numpydoc" ,
50- " pandas" ,
51- " pre-commit" ,
52- " py" ,
53- " pytest" ,
54- " pytest-asyncio" ,
55- " pytest-xprocess" ,
56- " requests" ,
57- " respx" ,
58- " sphinx" ,
59- " sphinx_rtd_theme" ,
60- ]
61-
62- [project .scripts ]
63- start-bluesky-httpserver = " bluesky_httpserver.server:start_server"
64-
65- [tool .setuptools ]
66- include-package-data = true
67-
68- [tool .setuptools .packages .find ]
69- exclude = [" docs" , " tests" ]
70-
71- [tool .setuptools .dynamic ]
72- version = { attr = " bluesky_httpserver.__version__" }
73-
741[tool .black ]
752line-length = 115
763target-version = [' py37' ]
Original file line number Diff line number Diff line change 1+ # These are required for developing the package (running the tests, building
2+ # the documentation) but not necessarily required for _using_ it.
3+ black
4+ codecov
5+ coverage
6+ cryptography
7+ fastapi [all ]
8+ flake8
9+ isort
10+ pre-commit
11+ pytest
12+ pytest-asyncio
13+ pytest-xprocess
14+ py
15+ respx
16+ sphinx
17+ ipython
18+ numpydoc
19+ matplotlib
20+ pandas
21+ sphinx
22+ sphinx_rtd_theme
23+ requests
Original file line number Diff line number Diff line change 1+ alembic
2+ bluesky-queueserver
3+ bluesky-queueserver-api
4+ cachetools
5+ fastapi
6+ httpx
7+ ldap3
8+ orjson
9+ pamela
10+ pydantic
11+ pydantic-settings
12+ python-jose
13+ pyzmq
14+ sqlalchemy
15+ starlette
16+ typing-extensions ;python_version < '3.8'
17+ uvicorn
You can’t perform that action at this time.
0 commit comments