From 12f6b0f30359c58a93568d79fdacd38dc2ba0a2a Mon Sep 17 00:00:00 2001 From: David Schultz Date: Tue, 25 Oct 2022 17:14:09 -0500 Subject: [PATCH] build for py 3.11 (#76) * build for py 3.11 * update setup.cfg * update requirements.txt * bump version of setup action * update setup.cfg * update requirements.txt * update requirements-telemetry.txt * update requirements-tests.txt Co-authored-by: github-actions --- .github/workflows/wipac-cicd.yml | 4 +- requirements-telemetry.txt | 102 ++++++++++++++++++++++++++++ requirements-tests.txt | 111 +++++++++++++++++++++++++++++++ requirements.txt | 4 +- setup.cfg | 6 +- 5 files changed, 221 insertions(+), 6 deletions(-) create mode 100644 requirements-telemetry.txt create mode 100644 requirements-tests.txt diff --git a/.github/workflows/wipac-cicd.yml b/.github/workflows/wipac-cicd.yml index 5aa863f2..2738f940 100644 --- a/.github/workflows/wipac-cicd.yml +++ b/.github/workflows/wipac-cicd.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v3 with: token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - - uses: WIPACrepo/wipac-dev-py-setup-action@v1.6 + - uses: WIPACrepo/wipac-dev-py-setup-action@v1.8 with: base-keywords: "WIPAC IceCube" @@ -121,4 +121,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} repository_username: __token__ - repository_password: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file + repository_password: ${{ secrets.PYPI_TOKEN }} diff --git a/requirements-telemetry.txt b/requirements-telemetry.txt new file mode 100644 index 00000000..bc2b4457 --- /dev/null +++ b/requirements-telemetry.txt @@ -0,0 +1,102 @@ +# +# This file is autogenerated by pip-compile with python 3.10 +# To update, run: +# +# pip-compile --extra=telemetry --output-file=requirements-telemetry.txt +# +backoff==2.2.1 + # via opentelemetry-exporter-otlp-proto-http +cachetools==5.2.0 + # via wipac-rest-tools (setup.py) +certifi==2022.9.24 + # via requests +cffi==1.15.1 + # via cryptography +charset-normalizer==2.1.1 + # via requests +coloredlogs==15.0.1 + # via wipac-telemetry +cryptography==38.0.1 + # via pyjwt +deprecated==1.2.13 + # via opentelemetry-api +googleapis-common-protos==1.56.2 + # via + # opentelemetry-exporter-jaeger-proto-grpc + # opentelemetry-exporter-otlp-proto-http +grpcio==1.50.0 + # via opentelemetry-exporter-jaeger-proto-grpc +humanfriendly==10.0 + # via coloredlogs +idna==3.4 + # via requests +opentelemetry-api==1.13.0 + # via + # opentelemetry-exporter-jaeger-proto-grpc + # opentelemetry-exporter-jaeger-thrift + # opentelemetry-exporter-otlp-proto-http + # opentelemetry-sdk + # wipac-telemetry +opentelemetry-exporter-jaeger==1.13.0 + # via wipac-telemetry +opentelemetry-exporter-jaeger-proto-grpc==1.13.0 + # via opentelemetry-exporter-jaeger +opentelemetry-exporter-jaeger-thrift==1.13.0 + # via opentelemetry-exporter-jaeger +opentelemetry-exporter-otlp-proto-http==1.13.0 + # via wipac-telemetry +opentelemetry-proto==1.13.0 + # via opentelemetry-exporter-otlp-proto-http +opentelemetry-sdk==1.13.0 + # via + # opentelemetry-exporter-jaeger-proto-grpc + # opentelemetry-exporter-jaeger-thrift + # opentelemetry-exporter-otlp-proto-http + # wipac-telemetry +opentelemetry-semantic-conventions==0.34b0 + # via opentelemetry-sdk +protobuf==3.20.3 + # via + # googleapis-common-protos + # opentelemetry-proto + # wipac-telemetry +pycparser==2.21 + # via cffi +pyjwt[crypto]==2.5.0 + # via wipac-rest-tools (setup.py) +requests==2.28.1 + # via + # opentelemetry-exporter-otlp-proto-http + # requests-futures + # wipac-dev-tools + # wipac-rest-tools (setup.py) +requests-futures==1.0.0 + # via wipac-rest-tools (setup.py) +six==1.16.0 + # via + # grpcio + # thrift +thrift==0.16.0 + # via opentelemetry-exporter-jaeger-thrift +tornado==6.2 + # via wipac-rest-tools (setup.py) +types-cryptography==3.3.23.1 + # via pyjwt +typing-extensions==4.4.0 + # via + # opentelemetry-sdk + # wipac-dev-tools + # wipac-telemetry +urllib3==1.26.12 + # via requests +wipac-dev-tools==1.6.0 + # via + # wipac-rest-tools (setup.py) + # wipac-telemetry +wipac-telemetry==0.2.5 + # via wipac-rest-tools (setup.py) +wrapt==1.14.1 + # via deprecated + +# The following packages are considered to be unsafe in a requirements file: +# setuptools diff --git a/requirements-tests.txt b/requirements-tests.txt new file mode 100644 index 00000000..27f307d4 --- /dev/null +++ b/requirements-tests.txt @@ -0,0 +1,111 @@ +# +# This file is autogenerated by pip-compile with python 3.10 +# To update, run: +# +# pip-compile --extra=tests --output-file=requirements-tests.txt +# +attrs==22.1.0 + # via pytest +cachetools==5.2.0 + # via wipac-rest-tools (setup.py) +certifi==2022.9.24 + # via requests +cffi==1.15.1 + # via cryptography +charset-normalizer==2.1.1 + # via requests +click==8.1.3 + # via + # click-completion + # pycycle +click-completion==0.5.2 + # via pycycle +colorama==0.4.6 + # via crayons +coverage[toml]==6.5.0 + # via + # pytest-cov + # wipac-rest-tools (setup.py) +crayons==0.4.0 + # via pycycle +cryptography==38.0.1 + # via pyjwt +exceptiongroup==1.0.0rc9 + # via pytest +flake8==5.0.4 + # via wipac-rest-tools (setup.py) +httpretty==1.1.4 + # via wipac-rest-tools (setup.py) +idna==3.4 + # via requests +iniconfig==1.1.1 + # via pytest +jinja2==3.1.2 + # via click-completion +markupsafe==2.1.1 + # via jinja2 +mccabe==0.7.0 + # via flake8 +packaging==21.3 + # via pytest +pluggy==1.0.0 + # via pytest +pycodestyle==2.9.1 + # via flake8 +pycparser==2.21 + # via cffi +pycycle==0.0.8 + # via wipac-rest-tools (setup.py) +pyflakes==2.5.0 + # via flake8 +pyjwt[crypto]==2.5.0 + # via wipac-rest-tools (setup.py) +pyparsing==3.0.9 + # via packaging +pytest==7.2.0 + # via + # pycycle + # pytest-asyncio + # pytest-cov + # pytest-mock + # wipac-rest-tools (setup.py) +pytest-asyncio==0.20.1 + # via wipac-rest-tools (setup.py) +pytest-cov==4.0.0 + # via wipac-rest-tools (setup.py) +pytest-mock==3.10.0 + # via wipac-rest-tools (setup.py) +requests==2.28.1 + # via + # requests-futures + # requests-mock + # wipac-dev-tools + # wipac-rest-tools (setup.py) +requests-futures==1.0.0 + # via wipac-rest-tools (setup.py) +requests-mock==1.10.0 + # via wipac-rest-tools (setup.py) +shellingham==1.5.0 + # via click-completion +six==1.16.0 + # via + # click-completion + # requests-mock +tomli==2.0.1 + # via + # coverage + # pytest +tornado==6.2 + # via wipac-rest-tools (setup.py) +types-cryptography==3.3.23.1 + # via pyjwt +types-requests==2.28.11.2 + # via wipac-rest-tools (setup.py) +types-urllib3==1.26.25.1 + # via types-requests +typing-extensions==4.4.0 + # via wipac-dev-tools +urllib3==1.26.12 + # via requests +wipac-dev-tools==1.6.0 + # via wipac-rest-tools (setup.py) diff --git a/requirements.txt b/requirements.txt index 6b6745bd..ea648018 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with python 3.8 +# This file is autogenerated by pip-compile with python 3.10 # To update, run: # # pip-compile @@ -35,5 +35,5 @@ typing-extensions==4.4.0 # via wipac-dev-tools urllib3==1.26.12 # via requests -wipac-dev-tools==1.5.6 +wipac-dev-tools==1.6.0 # via wipac-rest-tools (setup.py) diff --git a/setup.cfg b/setup.cfg index 5fb26846..16f999be 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,6 @@ [wipac:cicd_setup_builder] pypi_name = wipac-rest-tools python_min = 3.7 -python_max = 3.10 author = WIPAC Developers author_email = developers@icecube.wisc.edu keywords_spaced = python REST tools utilities OpenTelemetry tracing telemetry @@ -33,6 +32,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 download_url = https://pypi.org/project/wipac-rest-tools/ project_urls = Tracker = https://github.com/WIPACrepo/rest-tools/issues @@ -55,7 +55,7 @@ install_requires = requests-futures tornado wipac-dev-tools -python_requires = >=3.7, <3.11 +python_requires = >=3.7, <3.12 packages = find: [options.extras_require] @@ -84,6 +84,8 @@ exclude = docs resource resources + example + examples [flake8] ignore = E226,E231,E501