Considering the declaration in James 2:10, James did not identify one commandment which was obsolete. If he knew of one commandment which was abolished, he would not have written that keeping all the commandments except one makes us guilty of all of them. If the law were no more, James could not have made the declaration. All the writers of the New Testament advocate keeping every single commandment of Jesus as Jesus teaches (Matthew 5:17-18, et cetera).
No writer of the New Testament could have hinted that it is permissible under Jesus to eat swine's flesh, for example, when Isaiah 66:17 categorically declares that Jesus will destroy all those who eat swine's flesh and positioned himself against the position of Jesus in Matthew 5:17-18.
THE APOSTLES TEACH THE OLD TESTAMENT, THE JEWISH BIBLE, MOSES AND THE PROPHETS WITHOUT ALTERATION (Acts 26:22)
John 1:45 ASV
(45) Philip findeth Nathanael, and saith unto him, We have found him, of whom Moses in the law, and the prophets, wrote, Jesus of Nazareth, the son of Joseph.
Acts 26:22 ASV
(22) Having therefore obtained the help that is from God, I stand unto this day testifying both to small and great, saying nothing but what the prophets and Moses did say should come;
Acts 28:23 ASV
(23) And when they had appointed him a day, they came to him into his lodging in great number; to whom he expounded the matter, testifying the kingdom of God, and persuading them concerning Jesus, both from the law of Moses and from the prophets, from morning till evening.
Ask God to open our mind for understanding by the Holy Spirit (Job 32:8, Luke 24:45).
Ezekiel 33:14-16 ASV
(14) Again, when I say unto the wicked, Thou shalt surely die; if he turn from his sin, and do that which is lawful and right;
(15) if the wicked restore the pledge, give again that which he had taken by robbery, walk in the statutes of life, committing no iniquity; he shall surely live, he shall not die.
(16) None of his sins that he hath committed shall be remembered against him: he hath done that which is lawful and right; he shall surely live.
Ezekiel 33:13 ASV
(13) When I say to the righteous, that he shall surely live; if he trust to his righteousness, and commit iniquity, none of his righteous deeds shall be remembered; but in his iniquity that he hath committed, therein shall he die.
Philippians 3:9 ASV (the rituals of Moses can no longer justify)
(9) and be found in him, not having a righteousness of mine own, [even] that which is of the law, but that which is through faith [belief] in Christ, the righteousness which is from God by faith: