Giter VIP home page Giter VIP logo

Comments (13)

bodiam avatar bodiam commented on September 28, 2024 3

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.

bodiam avatar bodiam commented on September 28, 2024 3

@asolntsev working on something to promote the release, took a bit longer than expected, but it's coming!

from datafaker.

bodiam avatar bodiam commented on September 28, 2024 3

Okay, that only took a few too many attempts, but the release is done now.

from datafaker.

asolntsev avatar asolntsev commented on September 28, 2024 1

Great, waiting for the release!

from datafaker.

bodiam avatar bodiam commented on September 28, 2024 1

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.

kingthorin avatar kingthorin commented on September 28, 2024

Agreed. Thanks @asolntsev !!

To the original question I have nothing pressing outstanding for release.

from datafaker.

asolntsev avatar asolntsev commented on September 28, 2024

@bodiam Hi. What about release 2.3.0?

from datafaker.

asolntsev avatar asolntsev commented on September 28, 2024

@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.

bodiam avatar bodiam commented on September 28, 2024

@asolntsev any objection to take #1271 release? I'm happy to release it today.

from datafaker.

asolntsev avatar asolntsev commented on September 28, 2024

@bodiam no objections. It would be great to release all these changes.

from datafaker.

bodiam avatar bodiam commented on September 28, 2024

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.

bodiam avatar bodiam commented on September 28, 2024

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.

bodiam avatar bodiam commented on September 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.