Skip to content

Commit 4dbb0d3

Browse files
authored
Merge pull request #59 from altor/release_0.4.0
Release 0.4.0
2 parents 710eb90 + ee404df commit 4dbb0d3

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ WORKDIR /opt/powerapi
55
USER powerapi
66

77
COPY --chown=powerapi . /tmp/powerapi
8-
RUN pip3 install --user --no-cache-dir "/tmp/powerapi[mongodb]" && rm -r /tmp/powerapi
8+
RUN pip3 install --user --no-cache-dir "/tmp/powerapi[mongodb, influxdb]" && rm -r /tmp/powerapi
99

10-
ENTRYPOINT ["/bin/echo", "This Docker image should be used as a base for another image and should not be executed directly."]
10+
ENTRYPOINT ["/bin/echo", "This Docker image should be used as a base for another image and should not be executed directly."]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ As a middleware toolkit, PowerAPI offers the capability of assembling power mete
1313

1414
PowerAPI is an open-source project developed by the [Spirals research group](https://team.inria.fr/spirals) (University of Lille 1 and Inria) and fully managed with [setuptools](https://pypi.org/project/setuptools/).
1515

16-
The documentation is available [here](https://powerapi.readthedocs.io).
16+
The documentation is available [here](https://powerapi.org).
1717

1818
## Mailing list
1919
You can follow the latest news and asks questions by subscribing to our <a href="mailto:[email protected]?subject=subscribe powerapi">mailing list</a>.

powerapi/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@
2727
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2828
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929

30-
__version__ = "0.3.4"
30+
__version__ = "0.4.0"

powerapi/actor/supervisor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def launch_actor(self, actor, start_message=True):
9898

9999
if start_message:
100100
actor.send_control(StartMessage())
101-
msg = actor.receive_control(1000)
101+
msg = actor.receive_control(2000)
102102
if isinstance(msg, ErrorMessage):
103103
raise ActorInitError(msg.error_message)
104104
elif msg is None:

powerapi/database/__init__.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,13 @@
3131
from powerapi.database.base_db import BaseDB, IterDB, DBError
3232
from powerapi.database.csvdb import CsvDB, CsvBadFilePathError
3333
from powerapi.database.csvdb import CsvBadCommonKeysError, HeaderAreNotTheSameError
34-
from powerapi.database.influxdb import InfluxDB, CantConnectToInfluxDBException
3534
try:
3635
from powerapi.database.mongodb import MongoDB, MongoBadDBError
3736

3837
except ImportError:
3938
logging.getLogger().info("PyMongo is not installed.")
4039

4140
try:
42-
from influxdb import InfluxDBClient
43-
from influxdb.exceptions import InfluxDBClientError, InfluxDBServerError
41+
from powerapi.database.influxdb import InfluxDB, CantConnectToInfluxDBException
4442
except ImportError:
4543
logging.getLogger().info("influx-client is not installed.")

0 commit comments

Comments
 (0)