Skip to content

Commit 19c06f3

Browse files
author
David Davis
committed
Drop support for Python < 3.8
[noissue]
1 parent 3436fab commit 19c06f3

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.ci/ansible/Containerfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN pip3 install \
2323

2424
RUN mkdir -p /etc/nginx/pulp/
2525
{% for item in plugins %}
26-
RUN ln /usr/local/lib/python3.6/site-packages/{{ item.name }}/app/webserver_snippets/nginx.conf /etc/nginx/pulp/{{ item.name }}.conf || true
26+
RUN ln /usr/local/lib/python3.8/site-packages/{{ item.name }}/app/webserver_snippets/nginx.conf /etc/nginx/pulp/{{ item.name }}.conf || true
2727
{% endfor %}
2828

2929
ENTRYPOINT ["/init"]

.github/workflows/scripts/script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ echo "Checking for uncommitted migrations..."
9393
cmd_prefix bash -c "django-admin makemigrations --check --dry-run"
9494

9595
# Run unit tests.
96-
cmd_prefix bash -c "PULP_DATABASES__default__USER=postgres django-admin test --noinput /usr/local/lib/python3.6/site-packages/pulp_python/tests/unit/"
96+
cmd_prefix bash -c "PULP_DATABASES__default__USER=postgres django-admin test --noinput /usr/local/lib/python3.8/site-packages/pulp_python/tests/unit/"
9797

9898
# Run functional tests
9999
export PYTHONPATH=$REPO_ROOT:$REPO_ROOT/../pulpcore${PYTHONPATH:+:${PYTHONPATH}}

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
long_description=long_description,
1616
long_description_content_type="text/markdown",
1717
license="GPLv2+",
18-
python_requires=">=3.6",
18+
python_requires=">=3.8",
1919
author="Pulp Project Developers",
2020
author_email="pulp-list@redhat.com",
2121
url="https://www.pulpproject.org",
@@ -29,8 +29,8 @@
2929
"Framework :: Django",
3030
"Programming Language :: Python",
3131
"Programming Language :: Python :: 3",
32-
"Programming Language :: Python :: 3.6",
33-
"Programming Language :: Python :: 3.7",
32+
"Programming Language :: Python :: 3.8",
33+
"Programming Language :: Python :: 3.9",
3434
),
3535
entry_points={"pulpcore.plugin": ["pulp_python = pulp_python:default_app_config", ]},
3636
)

0 commit comments

Comments
 (0)