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

テスト実行をpytestに移行 #17

Merged
merged 1 commit into from
Aug 8, 2024
Merged

テスト実行をpytestに移行 #17

merged 1 commit into from
Aug 8, 2024

Conversation

kashewnuts
Copy link
Contributor

@kashewnuts kashewnuts commented Feb 6, 2024

目的

具体的な変更内容

  • Drop Django3.2&Celery5.2
  • python setup.py testを廃止し、pytestに移行

python -m build && twine check時のログ

(.venv) (migrate-pytest)$
python -m build .
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (setuptools>=61.0.0, wheel)
* Getting build dependencies for sdist...
running egg_info
writing bpnotify.egg-info/PKG-INFO
writing dependency_links to bpnotify.egg-info/dependency_links.txt
writing requirements to bpnotify.egg-info/requires.txt
writing top-level names to bpnotify.egg-info/top_level.txt
reading manifest file 'bpnotify.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'beproud/django/notify/templates'
writing manifest file 'bpnotify.egg-info/SOURCES.txt'
* Building sdist...
running sdist
running egg_info
writing bpnotify.egg-info/PKG-INFO
writing dependency_links to bpnotify.egg-info/dependency_links.txt
writing requirements to bpnotify.egg-info/requires.txt
writing top-level names to bpnotify.egg-info/top_level.txt
reading manifest file 'bpnotify.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'beproud/django/notify/templates'
writing manifest file 'bpnotify.egg-info/SOURCES.txt'
running check
creating bpnotify-0.50
creating bpnotify-0.50/beproud
creating bpnotify-0.50/beproud/django
creating bpnotify-0.50/beproud/django/notify
creating bpnotify-0.50/beproud/django/notify/backends
creating bpnotify-0.50/beproud/django/notify/fixtures
creating bpnotify-0.50/beproud/django/notify/storage
creating bpnotify-0.50/beproud/django/notify/tests
creating bpnotify-0.50/beproud/django/notify/tests/templates
creating bpnotify-0.50/beproud/django/notify/tests/templates/notify
creating bpnotify-0.50/beproud/django/notify/tests/templates/notify/private_msg
creating bpnotify-0.50/beproud/django/notify/tests/templates/notify/private_msg/private_messages
creating bpnotify-0.50/bpnotify.egg-info
creating bpnotify-0.50/docs
creating bpnotify-0.50/docs/en
creating bpnotify-0.50/docs/en/source
copying files to bpnotify-0.50...
copying CHANGES.rst -> bpnotify-0.50
copying MANIFEST.in -> bpnotify-0.50
copying README.rst -> bpnotify-0.50
copying pyproject.toml -> bpnotify-0.50
copying beproud/__init__.py -> bpnotify-0.50/beproud
copying beproud/django/__init__.py -> bpnotify-0.50/beproud/django
copying beproud/django/notify/__init__.py -> bpnotify-0.50/beproud/django/notify
copying beproud/django/notify/admin.py -> bpnotify-0.50/beproud/django/notify
copying beproud/django/notify/api.py -> bpnotify-0.50/beproud/django/notify
copying beproud/django/notify/constants.py -> bpnotify-0.50/beproud/django/notify
copying beproud/django/notify/models.py -> bpnotify-0.50/beproud/django/notify
copying beproud/django/notify/tasks.py -> bpnotify-0.50/beproud/django/notify
copying beproud/django/notify/utils.py -> bpnotify-0.50/beproud/django/notify
copying beproud/django/notify/backends/__init__.py -> bpnotify-0.50/beproud/django/notify/backends
copying beproud/django/notify/backends/base.py -> bpnotify-0.50/beproud/django/notify/backends
copying beproud/django/notify/backends/mail.py -> bpnotify-0.50/beproud/django/notify/backends
copying beproud/django/notify/backends/model.py -> bpnotify-0.50/beproud/django/notify/backends
copying beproud/django/notify/backends/redisdb.py -> bpnotify-0.50/beproud/django/notify/backends
copying beproud/django/notify/fixtures/test_users.json -> bpnotify-0.50/beproud/django/notify/fixtures
copying beproud/django/notify/storage/__init__.py -> bpnotify-0.50/beproud/django/notify/storage
copying beproud/django/notify/storage/base.py -> bpnotify-0.50/beproud/django/notify/storage
copying beproud/django/notify/storage/cached_db.py -> bpnotify-0.50/beproud/django/notify/storage
copying beproud/django/notify/storage/db.py -> bpnotify-0.50/beproud/django/notify/storage
copying beproud/django/notify/storage/locmem.py -> bpnotify-0.50/beproud/django/notify/storage
copying beproud/django/notify/tests/__init__.py -> bpnotify-0.50/beproud/django/notify/tests
copying beproud/django/notify/tests/base.py -> bpnotify-0.50/beproud/django/notify/tests
copying beproud/django/notify/tests/test_basic.py -> bpnotify-0.50/beproud/django/notify/tests
copying beproud/django/notify/tests/test_mail.py -> bpnotify-0.50/beproud/django/notify/tests
copying beproud/django/notify/tests/test_storage.py -> bpnotify-0.50/beproud/django/notify/tests
copying beproud/django/notify/tests/test_tasks.py -> bpnotify-0.50/beproud/django/notify/tests
copying beproud/django/notify/tests/utils.py -> bpnotify-0.50/beproud/django/notify/tests
copying beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_body.html -> bpnotify-0.50/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_body.txt -> bpnotify-0.50/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_subject.txt -> bpnotify-0.50/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying bpnotify.egg-info/PKG-INFO -> bpnotify-0.50/bpnotify.egg-info
copying bpnotify.egg-info/SOURCES.txt -> bpnotify-0.50/bpnotify.egg-info
copying bpnotify.egg-info/dependency_links.txt -> bpnotify-0.50/bpnotify.egg-info
copying bpnotify.egg-info/requires.txt -> bpnotify-0.50/bpnotify.egg-info
copying bpnotify.egg-info/top_level.txt -> bpnotify-0.50/bpnotify.egg-info
copying docs/en/source/conf.py -> bpnotify-0.50/docs/en/source
copying bpnotify.egg-info/SOURCES.txt -> bpnotify-0.50/bpnotify.egg-info
Writing bpnotify-0.50/setup.cfg
Creating tar archive
removing 'bpnotify-0.50' (and everything under it)
* Building wheel from sdist
* Creating virtualenv isolated environment...
* Installing packages in isolated environment... (setuptools>=61.0.0, wheel)
* Getting build dependencies for wheel...
running egg_info
writing bpnotify.egg-info/PKG-INFO
writing dependency_links to bpnotify.egg-info/dependency_links.txt
writing requirements to bpnotify.egg-info/requires.txt
writing top-level names to bpnotify.egg-info/top_level.txt
reading manifest file 'bpnotify.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'beproud/django/notify/templates'
writing manifest file 'bpnotify.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/beproud
copying beproud/__init__.py -> build/lib/beproud
creating build/lib/docs
creating build/lib/docs/en
creating build/lib/docs/en/source
copying docs/en/source/conf.py -> build/lib/docs/en/source
creating build/lib/beproud/django
copying beproud/django/__init__.py -> build/lib/beproud/django
creating build/lib/beproud/django/notify
copying beproud/django/notify/tasks.py -> build/lib/beproud/django/notify
copying beproud/django/notify/models.py -> build/lib/beproud/django/notify
copying beproud/django/notify/constants.py -> build/lib/beproud/django/notify
copying beproud/django/notify/__init__.py -> build/lib/beproud/django/notify
copying beproud/django/notify/api.py -> build/lib/beproud/django/notify
copying beproud/django/notify/admin.py -> build/lib/beproud/django/notify
copying beproud/django/notify/utils.py -> build/lib/beproud/django/notify
creating build/lib/beproud/django/notify/backends
copying beproud/django/notify/backends/mail.py -> build/lib/beproud/django/notify/backends
copying beproud/django/notify/backends/redisdb.py -> build/lib/beproud/django/notify/backends
copying beproud/django/notify/backends/__init__.py -> build/lib/beproud/django/notify/backends
copying beproud/django/notify/backends/model.py -> build/lib/beproud/django/notify/backends
copying beproud/django/notify/backends/base.py -> build/lib/beproud/django/notify/backends
creating build/lib/beproud/django/notify/tests
copying beproud/django/notify/tests/test_basic.py -> build/lib/beproud/django/notify/tests
copying beproud/django/notify/tests/test_mail.py -> build/lib/beproud/django/notify/tests
copying beproud/django/notify/tests/__init__.py -> build/lib/beproud/django/notify/tests
copying beproud/django/notify/tests/test_storage.py -> build/lib/beproud/django/notify/tests
copying beproud/django/notify/tests/utils.py -> build/lib/beproud/django/notify/tests
copying beproud/django/notify/tests/test_tasks.py -> build/lib/beproud/django/notify/tests
copying beproud/django/notify/tests/base.py -> build/lib/beproud/django/notify/tests
creating build/lib/beproud/django/notify/storage
copying beproud/django/notify/storage/db.py -> build/lib/beproud/django/notify/storage
copying beproud/django/notify/storage/cached_db.py -> build/lib/beproud/django/notify/storage
copying beproud/django/notify/storage/__init__.py -> build/lib/beproud/django/notify/storage
copying beproud/django/notify/storage/base.py -> build/lib/beproud/django/notify/storage
copying beproud/django/notify/storage/locmem.py -> build/lib/beproud/django/notify/storage
running egg_info
writing bpnotify.egg-info/PKG-INFO
writing dependency_links to bpnotify.egg-info/dependency_links.txt
writing requirements to bpnotify.egg-info/requires.txt
writing top-level names to bpnotify.egg-info/top_level.txt
reading manifest file 'bpnotify.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'beproud/django/notify/templates'
writing manifest file 'bpnotify.egg-info/SOURCES.txt'
creating build/lib/beproud/django/notify/fixtures
copying beproud/django/notify/fixtures/test_users.json -> build/lib/beproud/django/notify/fixtures
creating build/lib/beproud/django/notify/tests/templates
creating build/lib/beproud/django/notify/tests/templates/notify
creating build/lib/beproud/django/notify/tests/templates/notify/private_msg
creating build/lib/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_body.html -> build/lib/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_body.txt -> build/lib/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_subject.txt -> build/lib/beproud/django/notify/tests/templates/notify/private_msg/private_messages
warning: build_py: byte-compiling is disabled, skipping.

installing to build/bdist.macosx-14-arm64/wheel
running install
running install_lib
creating build/bdist.macosx-14-arm64
creating build/bdist.macosx-14-arm64/wheel
creating build/bdist.macosx-14-arm64/wheel/docs
creating build/bdist.macosx-14-arm64/wheel/docs/en
creating build/bdist.macosx-14-arm64/wheel/docs/en/source
copying build/lib/docs/en/source/conf.py -> build/bdist.macosx-14-arm64/wheel/docs/en/source
creating build/bdist.macosx-14-arm64/wheel/beproud
copying build/lib/beproud/__init__.py -> build/bdist.macosx-14-arm64/wheel/beproud
creating build/bdist.macosx-14-arm64/wheel/beproud/django
creating build/bdist.macosx-14-arm64/wheel/beproud/django/notify
copying build/lib/beproud/django/notify/tasks.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify
copying build/lib/beproud/django/notify/models.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify
creating build/bdist.macosx-14-arm64/wheel/beproud/django/notify/backends
copying build/lib/beproud/django/notify/backends/mail.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/backends
copying build/lib/beproud/django/notify/backends/redisdb.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/backends
copying build/lib/beproud/django/notify/backends/__init__.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/backends
copying build/lib/beproud/django/notify/backends/model.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/backends
copying build/lib/beproud/django/notify/backends/base.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/backends
copying build/lib/beproud/django/notify/constants.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify
creating build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests
copying build/lib/beproud/django/notify/tests/test_basic.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests
copying build/lib/beproud/django/notify/tests/test_mail.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests
copying build/lib/beproud/django/notify/tests/__init__.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests
copying build/lib/beproud/django/notify/tests/test_storage.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests
copying build/lib/beproud/django/notify/tests/utils.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests
copying build/lib/beproud/django/notify/tests/test_tasks.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests
creating build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests/templates
creating build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests/templates/notify
creating build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests/templates/notify/private_msg
creating build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying build/lib/beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_subject.txt -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying build/lib/beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_body.txt -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying build/lib/beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_body.html -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests/templates/notify/private_msg/private_messages
copying build/lib/beproud/django/notify/tests/base.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/tests
copying build/lib/beproud/django/notify/__init__.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify
creating build/bdist.macosx-14-arm64/wheel/beproud/django/notify/storage
copying build/lib/beproud/django/notify/storage/db.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/storage
copying build/lib/beproud/django/notify/storage/cached_db.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/storage
copying build/lib/beproud/django/notify/storage/__init__.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/storage
copying build/lib/beproud/django/notify/storage/base.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/storage
copying build/lib/beproud/django/notify/storage/locmem.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/storage
copying build/lib/beproud/django/notify/api.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify
copying build/lib/beproud/django/notify/admin.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify
copying build/lib/beproud/django/notify/utils.py -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify
creating build/bdist.macosx-14-arm64/wheel/beproud/django/notify/fixtures
copying build/lib/beproud/django/notify/fixtures/test_users.json -> build/bdist.macosx-14-arm64/wheel/beproud/django/notify/fixtures
copying build/lib/beproud/django/__init__.py -> build/bdist.macosx-14-arm64/wheel/beproud/django
warning: install_lib: byte-compiling is disabled, skipping.

running install_egg_info
Copying bpnotify.egg-info to build/bdist.macosx-14-arm64/wheel/bpnotify-0.50-py3.9.egg-info
running install_scripts
creating build/bdist.macosx-14-arm64/wheel/bpnotify-0.50.dist-info/WHEEL
creating '/Users/kashew/projects/github.com/beproud/bpnotify/dist/.tmp-0eg28tlk/bpnotify-0.50-py3-none-any.whl' and adding 'build/bdist.macosx-14-arm64/wheel' to it
adding 'beproud/__init__.py'
adding 'beproud/django/__init__.py'
adding 'beproud/django/notify/__init__.py'
adding 'beproud/django/notify/admin.py'
adding 'beproud/django/notify/api.py'
adding 'beproud/django/notify/constants.py'
adding 'beproud/django/notify/models.py'
adding 'beproud/django/notify/tasks.py'
adding 'beproud/django/notify/utils.py'
adding 'beproud/django/notify/backends/__init__.py'
adding 'beproud/django/notify/backends/base.py'
adding 'beproud/django/notify/backends/mail.py'
adding 'beproud/django/notify/backends/model.py'
adding 'beproud/django/notify/backends/redisdb.py'
adding 'beproud/django/notify/fixtures/test_users.json'
adding 'beproud/django/notify/storage/__init__.py'
adding 'beproud/django/notify/storage/base.py'
adding 'beproud/django/notify/storage/cached_db.py'
adding 'beproud/django/notify/storage/db.py'
adding 'beproud/django/notify/storage/locmem.py'
adding 'beproud/django/notify/tests/__init__.py'
adding 'beproud/django/notify/tests/base.py'
adding 'beproud/django/notify/tests/test_basic.py'
adding 'beproud/django/notify/tests/test_mail.py'
adding 'beproud/django/notify/tests/test_storage.py'
adding 'beproud/django/notify/tests/test_tasks.py'
adding 'beproud/django/notify/tests/utils.py'
adding 'beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_body.html'
adding 'beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_body.txt'
adding 'beproud/django/notify/tests/templates/notify/private_msg/private_messages/mail_subject.txt'
adding 'docs/en/source/conf.py'
adding 'bpnotify-0.50.dist-info/METADATA'
adding 'bpnotify-0.50.dist-info/WHEEL'
adding 'bpnotify-0.50.dist-info/top_level.txt'
adding 'bpnotify-0.50.dist-info/RECORD'
removing build/bdist.macosx-14-arm64/wheel
Successfully built bpnotify-0.50.tar.gz and bpnotify-0.50-py3-none-any.whl
(.venv) (migrate-pytest)$
twine check --strict dist/*
Checking dist/bpnotify-0.50-py3-none-any.whl: PASSED
Checking dist/bpnotify-0.50.tar.gz: PASSED

@@ -33,8 +29,7 @@
],
},
]

CELERY_TASK_ALWAYS_EAGER = True
USE_TZ = False # For Django 5.0+
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MEMO: Django5.0で値が変更されるので明示的に設定

RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default behavior.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

@@ -1,7 +0,0 @@
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

以下のように非推奨であるメッセージがでるので [beproud/django/__init__.py](https://github.com/beproud/bpnotify/pull/17/files#diff-b84fb5fc7ef473b9cb42b0a428ef8da21bc7978986580b82b657b8cbb288498d) と合わせて削除

.tox/py311-dj42-celery53/lib/python3.11/site-packages/pkg_resources/__init__.py:121
  /Users/kashew/projects/github.com/beproud/bpnotify/.tox/py311-dj42-celery53/lib/python3.11/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
    warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

beproud/__init__.py:3
  /Users/kashew/projects/github.com/beproud/bpnotify/beproud/__init__.py:3: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('beproud')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    __import__('pkg_resources').declare_namespace(__name__)

beproud/django/__init__.py:3
  /Users/kashew/projects/github.com/beproud/bpnotify/beproud/django/__init__.py:3: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('beproud.django')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    __import__('pkg_resources').declare_namespace(__name__)

.tox/py311-dj42-celery53/lib/python3.11/site-packages/pkg_resources/__init__.py:2349
  /Users/kashew/projects/github.com/beproud/bpnotify/.tox/py311-dj42-celery53/lib/python3.11/site-packages/pkg_resources/__init__.py:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('beproud')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    declare_namespace(parent)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

知らない人のために一応参考記事を貼っておきますね
Python 3.3b1 の名前空間パッケージを試してみた — 清水川Web

@@ -1,3 +0,0 @@
from setuptools import setup

setup(test_suite="tests.main")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python setup.py test コマンドのために残していただけなので削除

Comment on lines +53 to +56
# For Celery Tests
app = celery.Celery()
app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks(lambda: INSTALLED_APPS)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここだけ追加している。他はimport順&記述内容の整理

@@ -1,46 +0,0 @@
import os
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pytest化したので削除

Comment on lines +11 to +12
* Celery (5.3)
* Django (4.2)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

もう使わなくなったのは削除した。

Copy link
Member

@shimizukawa shimizukawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
django-version: ['3.2', '4.2']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


* Drop Django3.2&Celery5.2
* Migrate from ``python setup.py test`` to ``pytest``

0.49 (2024-02-XX)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

おっと日付がXXのままだw

@@ -1,7 +0,0 @@
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

知らない人のために一応参考記事を貼っておきますね
Python 3.3b1 の名前空間パッケージを試してみた — 清水川Web

"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"Environment :: Plugins",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["Django>=3.2", "six", "Celery"]
dependencies = ["Django>=4.2", "six", "Celery"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(six.. まだいたのか)

@kashewnuts kashewnuts marked this pull request as ready for review August 8, 2024 01:01
Copy link
Contributor

@ae35bp ae35bp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kashewnuts kashewnuts merged commit 2648cd6 into master Aug 8, 2024
10 checks passed
@kashewnuts kashewnuts deleted the migrate-pytest branch August 8, 2024 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants