Comments (13)
Just wanted to make sure everyone got their stuff in, but I'll probably create a new release within the next week or so.
There's a lot of new stuff in it, mostly thanks to you @asolntsev . Absolutely appreciate your efforts here, amazing work!
from datafaker.
@asolntsev working on something to promote the release, took a bit longer than expected, but it's coming!
from datafaker.
Okay, that only took a few too many attempts, but the release is done now.
from datafaker.
Great, waiting for the release!
from datafaker.
In that case I think I'll aim to release it tomorrow, let's see if the new github action works, otherwise I'll release it by hand.
from datafaker.
Agreed. Thanks @asolntsev !!
To the original question I have nothing pressing outstanding for release.
from datafaker.
@bodiam Hi. What about release 2.3.0?
from datafaker.
@bodiam Hi. How is release going?
P.S. I suggest we don't need to wait for #1271 and some other PRs - they can be released later as well.
from datafaker.
@asolntsev any objection to take #1271 release? I'm happy to release it today.
from datafaker.
@bodiam no objections. It would be great to release all these changes.
from datafaker.
I've been running 3 issues so far for creating the release. It's tricky.
This is the latest issue:
[ERROR] net.datafaker.integration.FakerIntegrationTest.testAllFakerMethodsThatReturnStrings(Locale, Random)[55] -- Time elapsed: 0.662 s <<< ERROR!
java.lang.RuntimeException: Test for method public java.lang.String net.datafaker.providers.base.IdNumber.valid() and object net.datafaker.providers.base.IdNumber@7c180af6 was failed for locale sv
at net.datafaker.integration.FakerIntegrationTest.testAllMethodsThatReturnStringsActuallyReturnStrings(FakerIntegrationTest.java:115)
at net.datafaker.integration.FakerIntegrationTest.testAllFakerMethodsThatReturnStrings(FakerIntegrationTest.java:94)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.datafaker.integration.FakerIntegrationTest.testAllMethodsThatReturnStringsActuallyReturnStrings(FakerIntegrationTest.java:113)
... 8 more
Caused by: java.lang.RuntimeException: Unable to resolve #{IDNumber.ssn_valid} directive for FakerContext FakerContext{SingletonLocale{sv}, net.datafaker.service.RandomService@1}.
at net.datafaker.service.FakeValuesService.resolveExpression(FakeValuesService.java:657)
at net.datafaker.service.FakeValuesService.resolve(FakeValuesService.java:522)
at net.datafaker.service.FakeValuesService.resolve(FakeValuesService.java:494)
at net.datafaker.providers.base.BaseFaker.resolve(BaseFaker.java:366)
at net.datafaker.providers.base.IdNumber.lambda$valid$1(IdNumber.java:42)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at net.datafaker.providers.base.IdNumber.valid(IdNumber.java:42)
... 12 more
from datafaker.
And for some reason I'm getting this error now:
[INFO] Performing remote staging...
[INFO]
[INFO] * Remote staging into staging profile ID "639312c949acb3"
[INFO] * Created staging repository with ID "netdatafaker-1025".
[INFO] * Staging repository at https://s01.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/netdatafaker-1025
[INFO] * Uploading locally staged artifacts to profile net.datafaker
Uploading to ossrh: https://s01.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/netdatafaker-1025/net/datafaker/datafaker/2.3.0/datafaker-2.3.0.jar.asc
[ERROR] Remote staging finished with a failure: Failed to deploy artifacts: Could not transfer artifact net.datafaker:datafaker:jar.asc:2.3.0 from/to ossrh (https://s01.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/netdatafaker-1025): status code: 401, reason phrase: Content access is protected by token (401)
from datafaker.
Seems that Maven central changed a thing:
https://central.sonatype.org/faq/401-error/#answer
https://central.sonatype.org/publish/generate-token/
from datafaker.
Related Issues (20)
- Remove public methods from `IdNumber` that are not intended to be directly called HOT 8
- How to specify country-specific setting, not language-specific? HOT 2
- Feature request: add support to generate a random PNG/SVG. HOT 1
- Password generation does not always contain a lowercase letter HOT 3
- Publishing docs works now HOT 1
- Memory leak in maps containing FakerContext as a key HOT 30
- Memory leak for seeded random use case HOT 3
- Create a dictionary of obscene words HOT 8
- java.lang.ClassCastException for finance.credit_card provider with Enum argument in Faker expression HOT 5
- Problems with module-info.java with version 2.3.0 HOT 33
- New Project to improving tests HOT 9
- Locale specific generation performance degradation HOT 1
- Fix publishing of snapshots HOT 4
- Code coverage report is broken HOT 4
- Unable to resolve expression during build HOT 12
- Add weighted selection HOT 2
- Faker().locality().allSupportedLocales() returns empty when Datafaker is embedded in Spring Boot Uber JAR HOT 25
- Add library API to C++ HOT 2
- ChineseIdNumber: Last digit is wrong 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 datafaker.