-
Notifications
You must be signed in to change notification settings - Fork 3
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
[JOSS Review] Installation and documentation #28
Comments
@nmstreethran, wow thank you for this thorough review. I will go through your remarks and implement them in the next coming days! |
Docs and Readme were changed in 5e0462c
A reference to the documentation page was added to the readme in a5d31f6. I would leave the API Reference reference at the end of the documentation.
I added a little more information on installing from source to the Readme in c372ade
The contribution guidelines were added to the readme in 14c4058
I added the paragraph about the CI to the installation docs in 4baa0a6
I updated the installation files according to your comments in 17abe8a
Sphinx was added to the requirements in 3064028
There was indeed the CRS missing on one dataset. This is now set within the test environment and matched with the other GeoDataFrames CRS. It was fixed in 73f41fd. The deprecation warning is issued on the GeoPandas site. So nothing I can do about it, unfortunately. |
@nmstreethran, please see my edits in the linked commits above. I should have resolved all your requested changes. Thanks again for this thorough review so far. |
@AlexanderJuestel That's great, thank you for addressing my comments. I'll get back to you tomorrow with the rest of my comments on the paper and examples. |
Hi @AlexanderJuestel, I'm reviewing
pyheatdemand
for JOSS at openjournals/joss-reviews#6275. This issue concerns the installation instructions and documentation of your package. Please let me know if anything is unclear. I haven't finished going through the heat demand examples and the paper yet; I'll open more issues for these if necessary.Documentation
environment_dev.yml
andrequirements.txt
after cloning the repository.pytest-cov
isn't included inenvironment_dev.yml
andrequirements.txt
, but I think it should be for the purpose of testing locally.environment_dev.yml
andrequirements.txt
do not match. Perhaps you could include the missing sphinx packages inrequirements.txt
for consistency?I've included my installation steps below for your reference, and also in case I'm doing something wrong.
Installation with Pip
I suggest updating the Pip install command to
python -m pip install pyheatdemand
, which is recommended (see https://pip.pypa.io/en/stable/user_guide/#installing-packages) (and maybe also use a virtual environment).python -m venv .env source .env/bin/activate python -m pip install pyheatdemand
Installation from source (including testing; I added
pytest-cov
torequirements.txt
):Installation with Conda
Is there a reason why
environment.yml
andenvironment_dev.yml
use Pip to install some dependencies when they already exist in conda-forge? Installing fromenvironment.yml
failed for me with the following output:I updated the environment files to use packages from conda-forge only as detailed below, which fixed this issue.
Updated
environment.yml
I updated
environment.yml
to the following (I didn't think the other dependencies are needed as this is not the development version):... and then installed the packages as follows, which proceeded without issues:
git clone https://github.com/AlexanderJuestel/pyheatdemand.git cd pyheatdemand conda env create conda activate pyheatdemand
Updated
environment_dev.yml
For the development version, I updated
environment_dev.yml
as follows (I changed the underscores to dashes for the sphinx packages and addedpytest-cov
):... then installed and tested the packages with no issues:
Tests
The output of
pytest --cov
shows 11 warnings including deprecation and CRS mismatch warnings which should ideally be addressed:The text was updated successfully, but these errors were encountered: