-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Patch PartyCollaborative effort mostly done as part of a patch partyCollaborative effort mostly done as part of a patch partyUserIssue Raised by a userIssue Raised by a userdocumentation
Milestone
Description
Hi folks, I'm most of the way through completing a feature branch to add ingestion of small bodies through the MPC Explorer API interface. I've a couple of questions on development workflow before generating the PR:
- Is there any documentation on setting up the development environment for working on a fork feature request ? During the development process I needed to add some fixture data for tests and a new package but ran into issues. Normally what I would do is add the package (
importlib_resources) to arequirements.txtand do apip install -e .to make it editable. With thepoetry(?) basedtom_basethis doesn't work; there isn't arequirements.txtfile and runningpip install -e .results in uninstalling thetomtoolkit-2.21.0version and installing a0.0.0version, which then breaks the dependencies for things liketom_finkwhich need a tomtoolkit version >2.17.2 for example. Can some documentation be added for how to setup your development environment ? - As part of making unit tests for the new code, I needed to create a test data directory of static captured results from the web service to avoid hitting that service in the tests - is this the right thing to do ?
- Related to 2. above, I made use of
importlib_resourcesto allow the test to find the test datafile transparently but this requires adding a new dependency - what is the procedure for wanting or adding new dependencies ? - In the interim until the pull request is merged upstream and a new version of tom_base/tomtoolkit is released, how do I go about using the new code/service within my TOM (FOMO) for developing ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Patch PartyCollaborative effort mostly done as part of a patch partyCollaborative effort mostly done as part of a patch partyUserIssue Raised by a userIssue Raised by a userdocumentation
Type
Projects
Status
Backlog