Skip to content

Commit

Permalink
chore: add pypi classifiers
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Moore <[email protected]>
  • Loading branch information
moorec-aws committed Mar 30, 2024
1 parent 1a60cac commit ca095e9
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 12 deletions.
6 changes: 5 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@

### Was this change documented?

### Is this a breaking change?
### Is this a breaking change?

----

*By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.*
1 change: 1 addition & 0 deletions .github/workflows/release_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
# Run semantic-release to generate new changelog
pip install --upgrade hatch
hatch env create release
hatch run release:deps
NEXT_SEMVER=$(hatch run release:bump $BUMP_ARGS)
# Grab the new version's changelog and prepend it to the original changelog contents
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deadline Cloud Test Fixtures
# AWS Deadline Cloud Test Fixtures

This package contains pytest fixtures that are used to test Deadline Cloud Python packages.
This package contains pytest fixtures that are used to test AWS Deadline Cloud Python packages.

## Usage

Expand Down
4 changes: 1 addition & 3 deletions hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ SKIP_BOOTSTRAP_TEST_RESOURCES="True"

[envs.release]
detached = true
dependencies = [
"python-semantic-release == 8.7.*"
]

[envs.release.scripts]
deps = "pip install -r requirements-release.txt"
bump = "semantic-release -v --strict version --no-push --no-commit --no-tag --skip-build {args}"
version = "semantic-release -v --strict version --print {args}"
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ build-backend = "hatchling.build"
name = "deadline-cloud-test-fixtures"
dynamic = ["version"]
requires-python = ">=3.7"
description = "This package contains pytest fixtures that are used to test AWS Deadline Cloud Python packages."
# https://pypi.org/classifiers/
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
]

# Note: All deps should be using >= since this is a *library*. Applications that
# consume this library should be the ones that are more strictly limiting dependencies
Expand Down
2 changes: 0 additions & 2 deletions requirements-release.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# HACK: This file solely exists for dependabot checks. The actual dependencies are in `hatch.toml` in the `release` environment.
# If dependabot opens a PR that modifies this file, please make sure to update the coresponding dependency in `hatch.toml` as well.
python-semantic-release == 8.7.*
2 changes: 1 addition & 1 deletion requirements-testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pytest == 8.1.*
pytest-cov == 4.1.*
pytest-timeout == 2.2.*
pytest-xdist == 3.5.*
black == 23.12.*
black == 24.3.*
moto[cloudformation,s3] == 4.2.*
mypy == 1.8.*
ruff == 0.3.*
Expand Down
6 changes: 3 additions & 3 deletions src/deadline_test_fixtures/cloudformation/cfn.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ def __init__(
logging_config = (
clean_kwargs(
{
"DestinationBucketName": logging.destination_bucket.ref
if logging.destination_bucket
else None,
"DestinationBucketName": (
logging.destination_bucket.ref if logging.destination_bucket else None
),
"LogFilePrefix": logging.log_file_prefix,
}
)
Expand Down

0 comments on commit ca095e9

Please sign in to comment.