Skip to content

Commit c4c8306

Browse files
committed
Bumpt to 4.2.8
1 parent 78a4455 commit c4c8306

8 files changed

Lines changed: 8 additions & 120 deletions

File tree

cellprofiler_core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.2.7"
1+
__version__ = "4.2.8"

cellprofiler_core/__main__.py

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +0,0 @@
1-
import os
2-
import pathlib
3-
4-
import click
5-
6-
import cellprofiler_core.commands
7-
8-
CONTEXT_SETTINGS = dict(auto_envvar_prefix="COMPLEX")
9-
10-
11-
class Command(click.MultiCommand):
12-
def get_command(self, context, name):
13-
try:
14-
name = f"cellprofiler_core.commands._{name}_command"
15-
16-
imported_module = __import__(name, None, None, ["command"])
17-
except ImportError:
18-
return
19-
20-
return imported_module.command
21-
22-
def list_commands(self, context):
23-
command_names = []
24-
25-
commands_pathname = cellprofiler_core.commands.__file__
26-
27-
commands_directory = pathlib.Path(commands_pathname).parent
28-
29-
for filename in os.listdir(commands_directory):
30-
if filename.endswith("_command.py") and filename.startswith("_"):
31-
command_name = filename[1:-11]
32-
33-
command_names += [command_name]
34-
35-
command_names.sort()
36-
37-
return command_names
38-
39-
40-
class Environment:
41-
def __init__(self):
42-
pass
43-
44-
45-
pass_environment = click.make_pass_decorator(Environment, ensure=True)
46-
47-
48-
@click.command(cls=Command, context_settings=CONTEXT_SETTINGS)
49-
@pass_environment
50-
def main(context):
51-
pass
52-
53-
54-
if __name__ == "__main__":
55-
main({})

cellprofiler_core/commands/__init__.py

Whitespace-only changes.

cellprofiler_core/commands/_pipeline_command.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

cellprofiler_core/commands/_worker_command.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212

1313
project = "CellProfiler-core"
1414

15-
release = "4.2.7"
15+
release = "4.2.8"
1616

1717
templates_path = ["_templates"]

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ filterwarnings =
33
ignore::DeprecationWarning
44
ignore::FutureWarning
55
minversion =
6-
4.2.7
6+
4.2.8
77
testpaths =
88
./tests/

setup.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@
88
"License :: OSI Approved :: MIT License",
99
"Programming Language :: Python :: 3",
1010
"Programming Language :: Python :: 3.8",
11+
"Programming Language :: Python :: 3.9",
1112
],
1213
extras_require={
1314
"dev": [
14-
"black==19.10b0",
15-
"click>=7.1.2",
16-
"pre-commit==2.2.0",
1715
"sphinx==3.1.2",
1816
"twine==3.1.1",
1917
],
20-
"test": ["pytest==5.4.1"],
18+
"test": ["pytest~=7.4.1"],
2119
"wx": ["wxPython==4.1.0"],
2220
},
2321
install_requires=[
@@ -29,8 +27,8 @@
2927
"numpy>=1.18.2",
3028
"prokaryote==2.4.4",
3129
"psutil>=5.7.0",
32-
"python-bioformats==4.0.7",
33-
"python-javabridge==4.0.3",
30+
"python-bioformats>=4.0.7,<5",
31+
"python-javabridge>=4.0.3,<5",
3432
"pyzmq~=22.3",
3533
"scikit-image==0.18.3",
3634
"scipy>=1.4.1",
@@ -41,6 +39,6 @@
4139
packages=setuptools.find_packages(exclude=["tests"]),
4240
python_requires=">=3.8",
4341
url="https://github.com/CellProfiler/core",
44-
version="4.2.7",
42+
version="4.2.8",
4543
zip_safe=False,
4644
)

0 commit comments

Comments
 (0)