Comments (3)
This issue is probably caused by the file timestamp being modified during build time. I bet this would be fixed if the build script only wrote to a file on a diff:
jsonschema-transpiler/build.rs
Lines 62 to 67 in 26ed6da
As a sanity check, cargo test
followed by cargo package
should be able to run without the --no-verify
flag.
from jsonschema-transpiler.
Looking at this a bit further, this is actually caused by the generation of tests, as seen in this error message:
error: failed to verify package tarball
Caused by:
Source directory was modified by build.rs during cargo publish. Build scripts should not modify anything outside of OUT_DIR. Modified file: /Users/amiyaguchi/Work/jsonschema-transpiler/target/package/jsonschema-transpiler-1.7.0/tests/transpile_bigquery.rs
Instead of generating tests, it may be better to dynamically read cases in a loop. However, this would lose being able to enumerate all of the tests.
from jsonschema-transpiler.
I recently ran cargo publish
without running into this issue. The README should be updated to reflect that this is no longer an issue.
from jsonschema-transpiler.
Related Issues (20)
- [Proposal] Add python bindings
- Support `date-time` format in JSON schemas HOT 1
- Add integration tests against reference data
- Validate BigQuery schemas by round-trip via Avro HOT 1
- Validate input jsonschema before transpiling HOT 1
- Use `TIMESTAMP` instead of `DATETIME` in BigQuery HOT 1
- Consider supporting legacy BigQuery types HOT 4
- Provide an error handling mechanism to drop, cast, or panic on under-specified fields HOT 4
- Convert camel case bigquery column names to snake case HOT 8
- `--resolve drop` fails on simple schema with incompatible multi-typed items
- Support PubSub schemas
- Support bytes as a data type HOT 1
- Union of string and bytes should be bytes
- Add option to make all fields nullable for BQ schemas
- Decide how to handle union types (like [string, int]) in BQ HOT 10
- Gather Data Science feedback on union and tuple types HOT 6
- Fail mozilla-pipeline-schemas CI if schemas contain nullable array elements HOT 2
- doc.rs fails to build as of v1.6.0
- `<unknown>` property field is dropped from an object 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 jsonschema-transpiler.