Comments (2)
Example of where setuptools_scm
would be helpful:
git clone https://github.com/andgoldschmidt/derivative.git
cd derivative
pip install .
pip show derivative
gives:
Name: derivative
Version: 0.5.3
...
This means that I can't tell which actual revision is installed. If derivative were using setuptools_scm
build backend, that version number would instead be 0.5.3.dev12+g04d5667.d20230414
, which explains I'm on the 12th commit after version 0.5.3, commit hash 04d5667, with uncommitted changes from 2023-04-14.
This also means that if I have a local install of the current master branch (pip install <local_path_to_derivative
) and I want to run tests on the PyPI version 0.5.3, if I uninstall derivative and try to reinstall with pip install derivative
, pip will default to using the cached version of 0.5.3 that's actually the master
branch, not the PyPI version (I think. still troubleshooting something atm). Since tests are passing on pysindy
with my versions of installed packages but not on gh Actions, this would help me know where I should bump version requirements.
Related to #29
from derivative.
I like a lot of these points, and appreciate the example. This reminds me that it'd be good to also have some CI attached to this project. My baseline package management strategy was to pick a tool that let me quickly ship, but I don't have any broader perspective or commitment to a certain workflow.
So, yes, it seems reasonable to migrate to an alternative. In the short term, I can ignore poetry.lock.
from derivative.
Related Issues (16)
- Add utilities for periodic boundary conditions HOT 2
- Create functional style api HOT 1
- Wavelet derivatives
- Spatial derivatives in 2+ dimensions
- axis default parameter HOT 2
- License is missing from the repository and the pypi source tarball HOT 1
- doc requirements in [tool.poetry.dev-dependencies]? HOT 5
- Pass or store smoothed coordinate values HOT 3
- Derivatives of empty arrays? HOT 1
- Numerical tests don't assert; also is there a better way of testing? HOT 1
- Support for multidimensional data HOT 1
- Git tag version releases HOT 3
- Run Jupyter notebooks in documentation HOT 4
- Hyperparamter optimization plugins? HOT 2
- Differentiation in arrays where len(X.shape)>2? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from derivative.