Skip to content

Commit

Permalink
feat: release v0.3.0
Browse files Browse the repository at this point in the history
Update dev dependencies.
  • Loading branch information
cofiem committed Nov 11, 2022
1 parent 7e14169 commit 7b4e25e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 34 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ celerybeat.pid

# Environments
.env
.venv
.venv/
.venv-test/
env/
venv/
ENV/
Expand Down
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ source .venv-test/bin/activate
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade -r requirements.txt

SERVER_MONITOR_AGENT_VERSION='0.2.0'
SERVER_MONITOR_AGENT_VERSION='0.3.0'
pip install --index-url https://test.pypi.org/simple/ --no-deps server-monitor-agent==$SERVER_MONITOR_AGENT_VERSION
```

Expand All @@ -65,7 +65,8 @@ server-monitor-agent --version
server-monitor-agent --help
server-monitor-agent memory
server-monitor-agent cpu
server-monitor-agent systemd-service
server-monitor-agent systemd-service --help
server-monitor-agent consul-report aws
```

If the package seems to work as expected, upload it to the live PyPI.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.3.0
36 changes: 9 additions & 27 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[build-system]
requires = [
"setuptools>=63.0.0",
]
requires = ["setuptools>=63.0.0"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -32,43 +30,27 @@ dynamic = [
server-monitor-agent = 'server_monitor_agent.entry:main'

[tool.setuptools.packages.find]
where = [
"src",
]
where = ["src"]
# include and exclude accept strings representing glob patterns.
include = [
"server_monitor_agent*",
]
include = ["server_monitor_agent*"]

[tool.setuptools.dynamic]
version = { file = [
"VERSION",
] }
dependencies = { file = [
"requirements.txt",
] }
version = { file = ["VERSION"] }
dependencies = { file = ["requirements.txt"] }

[tool.setuptools.dynamic.optional-dependencies]
dev = { file = [
"requirements-dev.txt",
] }
dev = { file = ["requirements-dev.txt"] }

[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra --quiet"
pythonpath = [
"src",
]
testpaths = [
"tests",
]
pythonpath = ["src"]
testpaths = ["tests"]

[tool.coverage.run]
# "Specifying the source option enables coverage.py to report on unexecuted files,
# since it can search the source tree for files that haven’t been measured at all."
source = [
'src',
]
source = ['src']
omit = [
'*/site-packages/*',
'tests/*',
Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pip==22.3.1

# build and upload package
setuptools==65.5.1
wheel==0.38.3
wheel==0.38.4
build==0.9.0
twine==4.0.1

Expand All @@ -26,7 +26,7 @@ flake8-unused-arguments==0.0.12
mypy==0.990
pylint==2.15.5
pydocstyle==6.1.1
pyright==1.1.278
pyright==1.1.279
types-dateparser==1.1.4.2
types-PyYAML==6.0.12.2
types-requests==2.28.11.4
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from server_monitor_agent.agent import common
from server_monitor_agent.entry import main

expected_version = "0.2.0"
expected_version = "0.3.0"

if sys.version_info.minor >= 10:
help_phrase_options = "options:"
Expand Down

0 comments on commit 7b4e25e

Please sign in to comment.