Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/release_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ['3.11', '3.12', '3.13', '3.14', '3.15']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -31,17 +31,17 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v7
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools_scm[toml]>=3.4 setuptools>=42 wheel twine>=3.3.0
python -m pip install "setuptools_scm[toml]>=10.3.4" "setuptools>=84.2.1" "wheel>=0.48.0" "twine>=7.0.0" "build>=1.6.1"
- name: Build and publish
env:
TWINE_USERNAME: __token__
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.11', '3.12', '3.13', '3.14', '3.15']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
14 changes: 5 additions & 9 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,18 @@
# Required
version: 2

build:
os: ubuntu-24.04
tools:
python: "3.14"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
# formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/requirements.txt
- method: setuptools
path: .

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Launch python interpreter and then type:

#### Prerequisites:

1. *Python v3.7* or newer
1. *Python v3.11* or newer
2. *virtualenv* or *virtualenvwrapper* (We recommend ***virtualenvwrapper*** <https://virtualenvwrapper.readthedocs.io/en/latest/> )
3. To produce RESTful APIs documentation install *redoc-cli* and *npx*:

Expand Down
2 changes: 1 addition & 1 deletion almdrlib/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import requests
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
from urllib3.util.retry import Retry
import re

from almdrlib.config import Config
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
#
import os
import logging
from importlib.metadata import version as package_version
import almdrlib
from almdrlib.docs import make_documentation
from pkg_resources import get_distribution

almdrlib.set_logger('almdrlib', logging.INFO)
make_documentation(os.path.dirname(os.path.abspath(__file__)))
Expand Down Expand Up @@ -66,7 +66,7 @@
# the built documents.
#
# The full version, including alpha/beta/rc tags.
release = get_distribution('alertlogic-sdk-python').version
release = package_version('alertlogic-sdk-python')
version = '.'.join(release.split('.')[:3])


Expand Down
10 changes: 5 additions & 5 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Sphinx==3.0.1
m2r2==0.3.2
sphinx_rtd_theme==0.4.3
sphinxcontrib_contentui==0.2.4
sphinx-paramlinks==0.4.1
Sphinx>=9.2.0
m2r2>=2.1.0
sphinx_rtd_theme>=3.1.0
sphinxcontrib_contentui>=0.2.5
sphinx-paramlinks>=0.6
alertlogic-sdk-python
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4", "requests"]
requires = ["setuptools>=84.2.1", "wheel>=0.48.0", "setuptools_scm[toml]>=10.3.4", "requests"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "almdrlib/version.py"
version_file = "almdrlib/version.py"
19 changes: 9 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
setuptools>=42
pip>=22.3.1
requests>=2.22.0
configparser==4.0.2
pyyaml==5.4.1
setuptools>=84.2.1
pip>=26.2.2
requests>=2.34.2
urllib3>=2.8.0
pyyaml>=6.0.3
jsonschema[format_nongpl]==3.2.0
m2r2==0.3.2
boto3>=1.16.57
markupsafe==2.0.1
sphinxcontrib-contentui
sphinx_paramlinks
m2r2>=2.1.0
boto3>=1.43.118
sphinxcontrib-contentui>=0.2.5
sphinx-paramlinks>=0.6
42 changes: 21 additions & 21 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
setuptools>=42
pip>=22.3.1
mock>=1.3.0
wheel>=0.38.1
flake8>=3.7.8
tox>=3.14.0
coverage>=6.5.0
Sphinx>=3.0.1
httpretty>=0.9.7
requests>=2.22.0
pycodestyle>=2.5.0
twine>=1.13.0
configparser>=4.0.2
sphinx_rtd_theme>=0.4.3
sphinxcontrib_contentui>=0.2.4
sphinx-paramlinks>=0.5.4
m2r2>=0.3.2
boto3>=1.16.57
pytest>=6.2.5
build>=0.9.0
alertlogic-sdk-definitions>=0.1.96
setuptools>=84.2.1
pip>=26.2.2
wheel>=0.48.0
mock>=5.2.0
flake8>=7.4.1
tox>=4.67.1
coverage>=7.17.0
Sphinx>=9.0.0
httpretty>=1.1.4
requests>=2.34.2
urllib3>=2.8.0
pycodestyle>=2.15.0
twine>=7.0.0
sphinx_rtd_theme>=3.1.0
sphinxcontrib_contentui>=0.2.5
sphinx-paramlinks>=0.6
m2r2>=2.1.0
boto3>=1.43.118
pytest>=9.1.1
build>=1.6.1
alertlogic-sdk-definitions>=0.1.168
28 changes: 15 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ def aggregate_release(lns, acc):
definitions_dependency = 'alertlogic-sdk-definitions>=v0.0.74'

requirements = [
'requests>=2.18',
'configparser>=4.0.2',
'pyyaml>=5.4.1',
'requests>=2.34.2',
'urllib3>=2.8.0',
'pyyaml>=6.0.3',
'jsonschema[format_nongpl]==3.2.0',
'm2r2==0.3.2',
'boto3>=1.16.57',
'm2r2>=2.1.0',
'boto3>=1.43.118',
definitions_dependency
]

Expand All @@ -65,7 +65,7 @@ def aggregate_release(lns, acc):
license='MIT license',
author='Alert Logic Inc.',
author_email='devsupport@alertlogic.com',
python_requires='>=3.6',
python_requires='>=3.11',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
Expand All @@ -74,9 +74,11 @@ def aggregate_release(lns, acc):
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3.15'
],
description='Alert Logic Software Development Kit for Python.',
long_description=readme + '\n\n' + history,
Expand All @@ -91,10 +93,10 @@ def aggregate_release(lns, acc):
install_requires=requirements,
extras_require={
'dev': [
'pytest>=3',
'mock>=2.0.0',
'httpretty>=0.8.14',
'pycodestyle>=2.3.1',
'pytest>=9.1.1',
'mock>=5.2.0',
'httpretty>=1.1.4',
'pycodestyle>=2.15.0',
'jsonschema[format_nongpl]==3.2.0'
],
},
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tox]
envlist = py37, py38, py39, py310, flake8

envlist = py311, py312, py313, py314, py315, flake8
[travis]
python =
3.10: py310
Expand Down
Loading