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
4 changes: 2 additions & 2 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python 3.12
run: uv python install 3.12
- name: Set up Python 3.13
run: uv python install 3.13
- name: Install dependencies
run: uv sync --dev
- name: Tests (pytest)
Expand Down
9 changes: 6 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: 24.4.2
hooks:
- id: black
language_version: python3.10
language_version: python3.13

- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
Expand All @@ -18,7 +18,10 @@ repos:
- id: isort
args: [ "--profile", "black", "--filter-files", "--line-length=100" ]

- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
- repo: local
hooks:
- id: hadolint
name: Lint Dockerfiles
language: system
files: (^|/)Dockerfile([^/]*)?$
entry: bash -c 'if command -v hadolint >/dev/null 2>&1; then hadolint "$@"; else echo "hadolint not installed, skipping"; fi' --
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12.11
3.13.11
Comment thread
lheureuxe13 marked this conversation as resolved.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build stage
# When upgrading Python versions, update '.python-version' to match
FROM python:3.12.11 AS builder
FROM python:3.13.11 AS builder

COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv

Expand All @@ -24,7 +24,7 @@ RUN uv sync --locked --no-dev --no-editable
################################################################################
# Runtime stage
# When upgrading Python versions, update '.python-version' to match
FROM python:3.12.11-slim
FROM python:3.13.11-slim

ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8
Expand Down
4 changes: 2 additions & 2 deletions jf_agent/jf_jira/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from jf_ingest import diagnostics, logging_helper
from jira import JIRA
from jira.resources import GreenHopperResource
from jira.resources import AgileResource

from jf_agent.jf_jira.jira_download import download_fields, download_missing_repos_found_by_jira

Expand All @@ -17,7 +17,7 @@ def _get_raw_jira_connection(config, creds, max_retries=3):
'server': config.jira_url,
'max_retries': max_retries,
'options': {
'agile_rest_path': GreenHopperResource.AGILE_BASE_REST_PATH,
'agile_rest_path': AgileResource.AGILE_BASE_REST_PATH,
'verify': not config.skip_ssl_verification,
"headers": {
"Accept": "application/json;q=1.0, */*;q=0.9",
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [
dependencies = [
"urllib3>=2.6.3",
"pyyaml>=4.21b",
"jira<4,>=3.1.1",
"jira==3.10.5",
"tqdm>=4.66.2",
"stashy",
"dateparser",
Expand All @@ -20,9 +20,9 @@ dependencies = [
"python-dotenv>=1.0.0",
"structlog>=24.4.0",
"colorama>=0.4.6",
"jf-ingest==0.0.279",
"jf-ingest==0.0.280",
]
requires-python = ">=3.12,<3.13"
requires-python = ">=3.13,<3.14"
Comment thread
lheureuxe13 marked this conversation as resolved.
readme = "README.md"
license = "MIT"

Expand All @@ -39,7 +39,7 @@ profile = "black"
[tool.black]
line-length = 100
skip-string-normalization = true
target_version = ['py312']
target_version = ['py313']
include = '\.pyi?$'
exclude = '''
(
Expand Down Expand Up @@ -89,6 +89,7 @@ name = "pypi"
url = "https://pypi.org/simple"
default = true


[dependency-groups]
dev = [
"requests-mock",
Expand Down
460 changes: 165 additions & 295 deletions uv.lock

Large diffs are not rendered by default.

Loading