Skip to content

Commit

Permalink
Bump requirements (#34)
Browse files Browse the repository at this point in the history
* changing cron schedule and updating to newest action

* bumping to setup.cfg and requirements.txt

* Bump 2022.4.1 to 2022.12.0

* adding python 3.10 to version matrix

* Adding in 3.10 metadata

* small bug fix in tests
  • Loading branch information
Faisal authored Jan 4, 2023
1 parent 85a9e80 commit f8c85cb
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 14 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/edgetest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Run edgetest
on:
schedule:
- cron: '35 17 * * 5'
- cron: '35 17 * * 4'
jobs:
edgetest:
runs-on: ubuntu-latest
Expand All @@ -14,8 +14,9 @@ jobs:
with:
ref: dev
- id: run-edgetest
uses: fdosani/run-edgetest-action@v1.1
uses: fdosani/run-edgetest-action@v1.2
with:
edgetest-flags: '-c setup.cfg --export'
base-branch: 'dev'
skip-pr: 'false'
python-version: 3.9
1 change: 1 addition & 0 deletions .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- 3.7
- 3.8
- 3.9
- "3.10"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
author = "Akshay Gupta"

# The short X.Y version
version = "2022.4.1"
version = "2022.12.0"
# The full version, including alpha/beta/rc tags
release = ""

Expand Down
2 changes: 1 addition & 1 deletion edgetest_pip_tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Package initialization."""

__version__ = "2022.4.1"
__version__ = "2022.12.0"

__title__ = "edgetest-pip-tools"
__description__ = "pip-tools integration for edgetest"
Expand Down
16 changes: 9 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --output-file=requirements.txt setup.cfg
#
build==0.8.0
build==0.9.0
# via pip-tools
cerberus==1.3.4
# via edgetest
click==8.1.3
# via
# edgetest
# pip-tools
edgetest==2022.7.0
edgetest==2022.11.0
# via edgetest-pip-tools (setup.cfg)
packaging==21.3
# via
# build
# edgetest
pep517==0.13.0
# via build
pip-tools==6.8.0
pip-tools==6.12.1
# via edgetest-pip-tools (setup.cfg)
pluggy==1.0.0
# via edgetest
pyparsing==3.0.9
# via packaging
tabulate==0.8.10
tabulate==0.9.0
# via edgetest
tomli==2.0.1
# via
# build
# pep517
wheel==0.37.1
tomlkit==0.11.4
# via edgetest
wheel==0.38.4
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10

[options]
zip_safe = False
include_package_data = True
packages = find:
install_requires =
edgetest
pip-tools<=6.8.0,>=6.0.0
pip-tools<=6.12.1,>=6.0.0

[options.extras_require]
docs =
Expand Down Expand Up @@ -86,7 +87,7 @@ edgetest =
piptools = edgetest_pip_tools.plugin

[bumpver]
current_version = "2022.4.1"
current_version = "2022.12.0"
version_pattern = "YYYY.MM.INC0"
commit_message = "Bump {old_version} to {new_version}"
commit = True
Expand Down
2 changes: 1 addition & 1 deletion tests/test_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
def test_addoption(config, tmpdir):
"""Test the addoption hook."""
location = tmpdir.mkdir("mylocation")
conf_loc = Path(str(location), "myconfig.ini")
conf_loc = Path(str(location), "myconfig.cfg")
with open(conf_loc, "w") as outfile:
outfile.write(config)

Expand Down

0 comments on commit f8c85cb

Please sign in to comment.