Git Product home page Git Product logo

uint12arrays.jl's Issues

Imcompatible with Recent versions of BitIntegers and SmallCollections

(@v1.11) pkg> status
Status `~/.julia/environments/v1.11/Project.toml`

results in (shortened):

[c3b6d118] BitIntegers v0.3.1
[2b935e18] SmallCollections v0.2.0

SmallCollections needs BitIntegers >= 0.3 while UInt12Arrays needs BitIntegers == 0.2.*:

(@v1.11) pkg> add UInt12Arrays
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package UInt12Arrays [c28d94ed]:
 UInt12Arrays [c28d94ed] log:
 ├─possible versions are: 0.1.0 - 0.3.1 or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0 - 0.3.1
 └─restricted by compatibility requirements with BitIntegers [c3b6d118] to versions: uninstalled — no versions left
   └─BitIntegers [c3b6d118] log:
     ├─possible versions are: 0.1.0 - 0.3.1 or uninstalled
     ├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0 - 0.3.1
     └─restricted by compatibility requirements with SmallCollections [2b935e18] to versions: 0.3.0 - 0.3.1
       └─SmallCollections [2b935e18] log:
         ├─possible versions are: 0.1.0 - 0.2.0 or uninstalled
         └─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0 - 0.2.0

push!, append! no longer work on Julia 1.11.0-rc2

From CI in #7 , push! does not work on Julia 1.11.0-rc2

MethodError: no method matching sizehint!(::UInt12Vector{UInt16, Vector{UInt8}}, ::Int64)
  The function `sizehint!` exists, but no method is defined for this combination of argument types.
  
  Closest candidates are:
    sizehint!(::BitSet, ::Integer; first, shrink)
     @ Base bitset.jl:58
    sizehint!(::BitVector, ::Integer)
     @ Base bitarray.jl:[80](https://github.com/JaneliaSciComp/UInt12Arrays.jl/actions/runs/10337737048/job/28614936520#step:6:83)9
    sizehint!(::Dict{T}, ::Any; shrink) where T
     @ Base dict.jl:193
    ...
  
  Stacktrace:
    [1] _append!(a::UInt12Vector{UInt16, Vector{UInt8}}, ::Base.HasLength, iter::Tuple{UInt16})
      @ Base ./array.jl:1320
    [2] append!(a::UInt12Vector{UInt16, Vector{UInt8}}, iter::Tuple{UInt16})
      @ Base ./array.jl:1313
    [3] push!(a::UInt12Vector{UInt16, Vector{UInt8}}, iter::UInt16)
      @ Base ./array.jl:1314
    [4] macro expansion
      @ ~/work/UInt12Arrays.jl/UInt12Arrays.jl/test/runtests.jl:20 [inlined]
    [5] macro expansion
      @ /opt/hostedtoolcache/julia/1.11.0-rc2/x64/share/julia/stdlib/v1.11/Test/src/Test.jl:1700 [inlined]
    [6] top-level scope
      @ ~/work/UInt12Arrays.jl/UInt12Arrays.jl/test/runtests.jl:5
    [7] include(fname::String)
      @ Main ./sysimg.jl:38
    [8] top-level scope
      @ none:6
    [9] eval
      @ ./boot.jl:429 [inlined]
   [10] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:2[91](https://github.com/JaneliaSciComp/UInt12Arrays.jl/actions/runs/10337737048/job/28614936520#step:6:94)
   [11] _start()
      @ Base ./client.jl:526

xref: JuliaLang/julia#55459

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

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.