Skip to content

Commit

Permalink
requirements update
Browse files Browse the repository at this point in the history
  • Loading branch information
bozokopic committed Aug 28, 2023
1 parent 9fb48d2 commit 3f67511
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 211 deletions.
15 changes: 10 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ dependencies = [
"hat-juggler ~= 0.6.11",
"hat-util ~= 0.6.10",
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License"
]

[project.scripts]
hat-syslog-server = "hat.syslog.server.main:main"
hat-syslog-generator = "hat.syslog.generator:main"

[project.urls]
Homepage = "http://hat-open.com"
Expand All @@ -20,18 +28,15 @@ Documentation = "http://hat-syslog.hat-open.com"

[project.optional-dependencies]
dev = [
"hat-doit ~=0.14.5",
"hat-doit ~=0.15.4",
"sphinxcontrib-plantuml >= 0.25",
"sphinxcontrib-programoutput >= 0.17",
]

[build-system]
requires = ["hat-doit ~=0.14.5"]
requires = ["hat-doit ~=0.15.4"]
build-backend = "hat.doit.pep517"

[tool.hat-doit]
pytest_profile_dir = "build/profile"

[tool.pytest.ini_options]
testpaths = ["test_pytest"]
asyncio_mode = "auto"
Expand Down
203 changes: 8 additions & 195 deletions requirements.pip.txt
Original file line number Diff line number Diff line change
@@ -1,195 +1,8 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --all-extras --no-emit-index-url --output-file=requirements.pip.txt pyproject.toml
#
aiohttp==3.8.5
# via hat-juggler
aiosignal==1.3.1
# via aiohttp
alabaster==0.7.13
# via sphinx
appdirs==1.4.4
# via hat-syslog (pyproject.toml)
async-timeout==4.0.2
# via aiohttp
attrs==23.1.0
# via
# aiohttp
# jsonschema
babel==2.12.1
# via sphinx
beautifulsoup4==4.12.2
# via furo
build==0.10.0
# via
# hat-doit
# pip-tools
certifi==2023.7.22
# via requests
charset-normalizer==3.2.0
# via
# aiohttp
# requests
click==8.1.6
# via pip-tools
cloudpickle==2.2.1
# via doit
coverage[toml]==7.2.7
# via pytest-cov
docutils==0.20.1
# via sphinx
doit==0.36.0
# via hat-doit
flake8==6.1.0
# via hat-doit
frozenlist==1.4.0
# via
# aiohttp
# aiosignal
furo==2023.7.26
# via hat-doit
hat-aio==0.7.8
# via
# hat-juggler
# hat-syslog (pyproject.toml)
hat-doit==0.14.5
# via hat-syslog (pyproject.toml)
hat-json==0.5.19
# via
# hat-juggler
# hat-syslog (pyproject.toml)
hat-juggler==0.6.11
# via hat-syslog (pyproject.toml)
hat-util==0.6.10
# via
# hat-json
# hat-syslog (pyproject.toml)
idna==3.4
# via
# requests
# yarl
imagesize==1.4.1
# via sphinx
importlib-metadata==6.8.0
# via doit
iniconfig==2.0.0
# via pytest
jinja2==3.1.2
# via
# pdoc
# sphinx
jsonpatch==1.33
# via hat-json
jsonpointer==2.4
# via jsonpatch
jsonschema==4.17.3
# via hat-json
markupsafe==2.1.3
# via
# jinja2
# pdoc
mccabe==0.7.0
# via flake8
multidict==6.0.4
# via
# aiohttp
# yarl
packaging==23.1
# via
# build
# hat-doit
# pytest
# sphinx
pdoc==14.0.0
# via hat-doit
pip-tools==7.3.0
# via hat-doit
pluggy==1.2.0
# via pytest
pycodestyle==2.11.0
# via flake8
pyflakes==3.1.0
# via flake8
pygments==2.16.1
# via
# furo
# pdoc
# sphinx
pyproject-hooks==1.0.0
# via build
pyrsistent==0.19.3
# via jsonschema
pytest==7.4.0
# via
# hat-doit
# pytest-asyncio
# pytest-cov
# pytest-timeout
pytest-asyncio==0.21.1
# via hat-doit
pytest-cov==4.1.0
# via hat-doit
pytest-timeout==2.1.0
# via hat-doit
pyyaml==6.0.1
# via hat-json
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
# via sphinx
soupsieve==2.4.1
# via beautifulsoup4
sphinx==7.1.2
# via
# furo
# hat-doit
# sphinx-basic-ng
# sphinxcontrib-applehelp
# sphinxcontrib-devhelp
# sphinxcontrib-htmlhelp
# sphinxcontrib-plantuml
# sphinxcontrib-programoutput
# sphinxcontrib-qthelp
# sphinxcontrib-serializinghtml
sphinx-basic-ng==1.0.0b2
# via furo
sphinxcontrib-applehelp==1.0.5
# via sphinx
sphinxcontrib-devhelp==1.0.3
# via sphinx
sphinxcontrib-htmlhelp==2.0.2
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-plantuml==0.25
# via hat-syslog (pyproject.toml)
sphinxcontrib-programoutput==0.17
# via hat-syslog (pyproject.toml)
sphinxcontrib-qthelp==1.0.4
# via sphinx
sphinxcontrib-serializinghtml==1.1.6
# via sphinx
tomli==2.0.1
# via
# hat-doit
# hat-json
tomli-w==1.0.0
# via
# hat-doit
# hat-json
urllib3==2.0.4
# via requests
wheel==0.41.1
# via
# hat-doit
# pip-tools
yarl==1.9.2
# via aiohttp
zipp==3.16.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
appdirs ~= 1.4.4
hat-aio ~= 0.7.8
hat-doit ~=0.15.4
hat-json ~= 0.5.19
hat-juggler ~= 0.6.11
hat-util ~= 0.6.10
sphinxcontrib-plantuml >= 0.25
sphinxcontrib-programoutput >= 0.17
19 changes: 8 additions & 11 deletions src_doit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
run_eslint)
from hat.doit.py import (get_task_build_wheel,
get_task_run_pytest,
get_task_run_pip_compile,
get_task_create_pip_requirements,
run_flake8)

from . import dist
Expand All @@ -25,7 +25,7 @@
'task_ui_dir',
'task_docs',
'task_ui',
'task_pip_compile',
'task_pip_requirements',
*dist.__all__]


Expand Down Expand Up @@ -59,12 +59,9 @@ def task_node_modules():

def task_build():
"""Build"""
return get_task_build_wheel(
src_dir=src_py_dir,
build_dir=build_py_dir,
scripts={'hat-syslog-server': 'hat.syslog.server.main:main',
'hat-syslog-generator': 'hat.syslog.generator:main'},
task_dep=['ui'])
return get_task_build_wheel(src_dir=src_py_dir,
build_dir=build_py_dir,
task_dep=['ui'])


def task_check():
Expand Down Expand Up @@ -125,9 +122,9 @@ def build(args):
'task_dep': ['node_modules']}


def task_pip_compile():
"""Run pip-compile"""
return get_task_run_pip_compile()
def task_pip_requirements():
"""Create pip requirements"""
return get_task_create_pip_requirements()


_webpack_conf = r"""
Expand Down

0 comments on commit 3f67511

Please sign in to comment.