Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix deprecation warnings in python3.8 and above #1

Merged
merged 1 commit into from
Nov 15, 2023
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
2 changes: 1 addition & 1 deletion pyramid_celery/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_route_config(parser, section):


class INILoader(celery.loaders.base.BaseLoader):
ConfigParser = configparser.SafeConfigParser
ConfigParser = configparser.ConfigParser

def __init__(self, app, **kwargs):
self.celery_conf = kwargs.pop('ini_file')
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ norecursedirs =

addopts =
-rxEfs
--strict
--strict-markers
--doctest-modules
--doctest-glob=\*.rst
--tb=short
Expand Down
66 changes: 33 additions & 33 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import sys
from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
Expand All @@ -8,36 +7,37 @@

requires = ['pyramid', 'celery']

setup(name='pyramid_celery',
version='4.0.0',
description='Celery integration with pyramid',
long_description=README + "\n" + CHANGES,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
author='John Anderson',
author_email='[email protected]',
url='https:/sontek/pyramid_celery',
keywords='paste pyramid celery message queue amqp job task distributed',
license='MIT',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires + ['pytest'],
python_requires='>=3.6',
test_suite="pyramid_celery",
setup(
name='pyramid_celery',
version='4.0.0',
description='Celery integration with pyramid',
long_description=README + "\n" + CHANGES,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
author='John Anderson',
author_email='[email protected]',
url='https:/sontek/pyramid_celery',
keywords='paste pyramid celery message queue amqp job task distributed',
license='MIT',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires + ['pytest'],
python_requires='>=3.6',
test_suite="pyramid_celery",
)